mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r13846@catbus: nickm | 2007-07-19 16:31:41 -0400
Actually, OSX (and some BSDs) accept [f:f:f:f:f:f:f:f::] as a perfectly fine ipv6 address. svn:r10887
This commit is contained in:
parent
31a73c0767
commit
3015129a4a
@ -1243,10 +1243,13 @@ test_ip6_helpers(void)
|
||||
test_assert(r == -1);
|
||||
r=tor_addr_parse_mask_ports("efef::/112", &t1, NULL, NULL, NULL);
|
||||
test_assert(r == -1);
|
||||
#if 0
|
||||
/* These two are okay on OSX and some BSDs. */
|
||||
r=tor_addr_parse_mask_ports("[f:f:f:f:f:f:f:f::]", &t1, NULL, NULL, NULL);
|
||||
test_assert(r == -1);
|
||||
r=tor_addr_parse_mask_ports("[::f:f:f:f:f:f:f:f]", &t1, NULL, NULL, NULL);
|
||||
test_assert(r == -1);
|
||||
#endif
|
||||
r=tor_addr_parse_mask_ports("[f:f:f:f:f:f:f:f:f]", &t1, NULL, NULL, NULL);
|
||||
test_assert(r == -1);
|
||||
/* Test for V4-mapped address with mask < 96. (arguably not valid) */
|
||||
|
Loading…
Reference in New Issue
Block a user