diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-04 19:47:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-04 19:47:17 +0000 |
commit | 9c94b428d9f30f1c5a493856cfea293c634a3c9f (patch) | |
tree | a92189d7d7cafee62249609f8e8d83844adc1e84 /src/or/test.c | |
parent | 360a059948e47b69bd86caf3b1de698954093df8 (diff) | |
download | tor-9c94b428d9f30f1c5a493856cfea293c634a3c9f.tar.gz tor-9c94b428d9f30f1c5a493856cfea293c634a3c9f.zip |
Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address on any platform.
svn:r17887
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index e3f92f6d4f..cf33840264 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -1699,7 +1699,7 @@ test_util_ip6_helpers(void) test_eq(i, -1); i = tor_addr_parse_reverse_lookup_name(&t1, "32.1.1.in-addr.arpa", AF_UNSPEC, 0); - /* test_eq(i, -1); XXXX021 Apparently '32.1.1' is a valid aton address. */ + test_eq(i, -1); i = tor_addr_parse_reverse_lookup_name(&t1, ".in-addr.arpa", AF_UNSPEC, 0); test_eq(i, -1); |