tor/changes/bug13163-bitwise-check-BRIDGE-DIRINFO
teor 31bf8f2690 Bitwise check BRIDGE_DIRINFO
Bitwise check for the BRIDGE_DIRINFO flag, rather than checking for
equality.

Fixes a (potential) bug where directories offering BRIDGE_DIRINFO,
and some other flag (i.e. microdescriptors or extrainfo),
would be ignored when looking for bridge directories.

Final fix in series for bug 13163.
2014-10-08 05:37:15 +11:00

6 lines
314 B
Plaintext

o Minor bugfixes:
- Bitwise check the BRIDGE_DIRINFO flag rather than using equality.
Fixes a (potential) bug where directories offering BRIDGE_DIRINFO and
some other flag (i.e. microdescriptors or extrainfo) would be ignored
when looking for bridge directories. Partially fixes bug 13163.