diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-06 02:44:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-06 02:44:07 +0000 |
commit | fad85f173a6a271af5ebbebffb778426febbce61 (patch) | |
tree | b0063651a95606839d164d8dbfbc47936f179114 /src/common/util.h | |
parent | 3c4205c8724f6eb01dedc1ff6bbdd7f756320a4d (diff) | |
download | tor-fad85f173a6a271af5ebbebffb778426febbce61.tar.gz tor-fad85f173a6a271af5ebbebffb778426febbce61.zip |
when an exit node gets a malformed begin cell, don't complain to
the node operator, since he can't do anything about it.
svn:r6733
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h index 39c0baacc3..b61b399dec 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -168,8 +168,8 @@ int path_is_relative(const char *filename); /* Net helpers */ int is_internal_IP(uint32_t ip, int for_listening); int is_local_IP(uint32_t ip); -int parse_addr_port(const char *addrport, char **address, uint32_t *addr, - uint16_t *port); +int parse_addr_port(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, uint16_t *port_max_out); int parse_addr_and_port_range(const char *s, uint32_t *addr_out, |