make addresses not use compression in the middle since diffrent
inet_ntop have diffrent way to format them
This commit is contained in:
@@ -204,7 +204,7 @@ main(int argc, char **argv)
|
||||
print_addr(context, "RANGE:130.237.237.4/29");
|
||||
#ifdef HAVE_IPV6
|
||||
print_addr(context, "RANGE:fe80::209:6bff:fea0:e522/64");
|
||||
print_addr(context, "RANGE:IPv6:fe80::209:6bff:fea0:e522/64");
|
||||
print_addr(context, "RANGE:IPv6:fe80:1:209:6bff:fea0:e522/64");
|
||||
print_addr(context, "RANGE:IPv6:fe80::-IPv6:fe80::ffff:ffff:ffff:ffff");
|
||||
print_addr(context, "RANGE:fe80::-fe80::ffff:ffff:ffff:ffff");
|
||||
#endif
|
||||
@@ -214,7 +214,7 @@ main(int argc, char **argv)
|
||||
#ifdef HAVE_IPV6
|
||||
check_truncation(context, "IPv6:::");
|
||||
check_truncation(context, "IPv6:::1");
|
||||
check_truncation(context, "IPv6:fe80:9:c3e::209:6bff:fea0:e522");
|
||||
check_truncation(context, "IPv6:fe80:9:c3e:1:209:6bff:fea0:e522");
|
||||
check_truncation(context, "IPv6:fe80::209:0:0:0");
|
||||
check_truncation(context, "IPv6:fe80::ffff:ffff:ffff:ffff");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user