diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-19 19:40:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-19 19:40:45 +0000 |
commit | 4a240552c4ea837e174f37e04a19fb9f01e03d6d (patch) | |
tree | 7d4a5a17a1d403ed85384e9260767931d3d301c9 /src/or/config.c | |
parent | bbbf50428102156359974e33bbcb70537132ace9 (diff) | |
download | tor-4a240552c4ea837e174f37e04a19fb9f01e03d6d.tar.gz tor-4a240552c4ea837e174f37e04a19fb9f01e03d6d.zip |
r13834@catbus: nickm | 2007-07-19 15:40:42 -0400
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time.
svn:r10881
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index bebc8cacad..4663e5b3dc 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3562,8 +3562,8 @@ parse_redirect_line(smartlist_t *result, config_line_t *line, char **msg) *msg = tor_strdup("Wrong number of elements in RedirectExit line"); goto err; } - if (parse_addr_and_port_range(smartlist_get(elements,0),&r->addr,&r->mask, - &r->port_min,&r->port_max)) { + if (parse_addr_and_port_range(smartlist_get(elements,0),&r->addr, + &r->maskbits,&r->port_min,&r->port_max)) { *msg = tor_strdup("Error parsing source address in RedirectExit line"); goto err; } |