diff options
Diffstat (limited to 'src/common/address.h')
-rw-r--r-- | src/common/address.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/address.h b/src/common/address.h index d41c2f570f..8dc63b71c1 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -210,12 +210,12 @@ 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); /* IPv4 helpers */ -int is_internal_IP(uint32_t ip, int for_listening); int addr_port_lookup(int severity, const char *addrport, char **address, uint32_t *addr, uint16_t *port_out); int parse_port_range(const char *port, uint16_t *port_min_out, |