diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-27 15:31:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-27 15:31:29 -0400 |
commit | 9c0a1adfa21f12e6682fa26d43fbf91bab4e6fc3 (patch) | |
tree | 4854edff8e71379627e00cd23c8e3e0db63abc6e /src/common/address.h | |
parent | a83abcf5ee5cb8fe245bc97e089e082f62921194 (diff) | |
download | tor-9c0a1adfa21f12e6682fa26d43fbf91bab4e6fc3.tar.gz tor-9c0a1adfa21f12e6682fa26d43fbf91bab4e6fc3.zip |
Don't do a DNS lookup on a bridge line address
Fixes bug 10801; bugfix on 07bf274d in 0.2.0.1-alpha.
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/address.h b/src/common/address.h index 77e5855346..7afcb0d925 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -209,7 +209,8 @@ int tor_addr_port_split(int severity, const char *addrport, char **address_out, uint16_t *port_out); int tor_addr_port_parse(int severity, const char *addrport, - tor_addr_t *address_out, uint16_t *port_out); + tor_addr_t *address_out, uint16_t *port_out, + int default_port); int tor_addr_hostname_is_local(const char *name); |