Fix get_configured_bridge_by_addr_port_digest(.,.,NULL)

The old behavior was that NULL matched only bridges without known
identities; the correct behavior is that NULL should match all
bridges (assuming that their addr:port matches).
This commit is contained in:
rl1987
2013-12-08 20:42:33 +02:00
committed by Nick Mathewson
parent 9c048d90b6
commit e6590efaa7
2 changed files with 9 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
o Minor bugfixes:
- Fix a get_configured_bridge_by_addr_port_digest() function so
that it would return a bridge with given address and port even
if bridge digest is not specified by caller. Fixes bug 9162;
bugfix on 0.2.0.3-alpha. Based on a patch from "rl1987".