ASF Bugzilla – Attachment 20712 Details for
Bug 43217
All-ones IPv6 subnet mask not accepted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to test suite
apr-testipsub.diff (text/plain), 2.29 KB, created by
Ted Percival
on 2007-08-26 23:09:24 UTC
(
hide
)
Description:
Patch to test suite
Filename:
MIME Type:
Creator:
Ted Percival
Created:
2007-08-26 23:09:24 UTC
Size:
2.29 KB
patch
obsolete
>--- apr-1.2.7/test/testipsub.c 2005-02-05 06:44:01.000000000 +1000 >+++ ../apr-1.2.7/test/testipsub.c 2007-08-27 16:02:38.000000000 +1000 >@@ -45,6 +45,7 @@ > ,{"127.0.0.1.2", NULL, APR_EBADIP} > ,{"127.0.0.1.2", "8", APR_EBADIP} > ,{"127", "255.0.0.0", APR_EBADIP} /* either EBADIP or EBADMASK seems fine */ >+ ,{"127.0.0.1", "255.255.255.255", APR_SUCCESS} > #if APR_HAVE_IPV6 > ,{"::1", NULL, APR_SUCCESS} > ,{"::1", "20", APR_SUCCESS} >@@ -57,6 +58,8 @@ > ,{"fe80::1", "33", APR_SUCCESS} > ,{"fe80::1", "128", APR_SUCCESS} > ,{"fe80::1", "129", APR_EBADMASK} >+ ,{"fe80::1", "ffff::", APR_SUCCESS } >+ ,{"fe80::1", "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", APR_SUCCESS } > #else > /* do some IPv6 stuff and verify that it fails with APR_EBADIP */ > ,{"::ffff:9.67.113.15", NULL, APR_EBADIP} >@@ -116,12 +119,16 @@ > ,{"9.67.0.0", "255.255.0.0", APR_INET, "9.67.113.15", "10.1.2.3"} > ,{"9.67.113.99", "16", APR_INET, "9.67.113.15", "10.1.2.3"} > ,{"9.67.113.99", "255.255.255.0", APR_INET, "9.67.113.15", "10.1.2.3"} >+ ,{"9.67.113.99", "255.255.255.255", APR_INET,"9.67.113.99", "10.1.2.3"} > #if APR_HAVE_IPV6 > ,{"fe80::", "8", APR_INET6, "fe80::1", "ff01::1"} > ,{"ff01::", "8", APR_INET6, "ff01::1", "fe80::1"} > ,{"3FFE:8160::", "28", APR_INET6, "3ffE:816e:abcd:1234::1", "3ffe:8170::1"} > ,{"127.0.0.1", NULL, APR_INET6, "::ffff:127.0.0.1", "fe80::1"} > ,{"127.0.0.1", "8", APR_INET6, "::ffff:127.0.0.1", "fe80::1"} >+ ,{"fe80::1", "128", APR_INET6, "fe80::1", "fe80::2"} >+ ,{"fe80::1", "ffff::", APR_INET6, "fe80::1", "aaaa::1"} >+ ,{"fe80::1", "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", APR_INET6, "fe80::1", "fe80::2"} > #endif > }; > apr_ipsubnet_t *ipsub;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43217
: 20712