make address a full adress

This commit is contained in:
Love Hornquist Astrand
2010-09-18 11:26:09 -07:00
parent 057f139f6a
commit 9907781fa3

View File

@@ -203,8 +203,8 @@ main(int argc, char **argv)
print_addr(context, "RANGE:IPv4:127.0.0.0-IPv4:127.0.0.255");
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:1:209:6bff:fea0:e522/64");
print_addr(context, "RANGE:2001:0db8:0001:0002:0003:0004:1428:07ab/64");
print_addr(context, "RANGE:IPv6:fe80:/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:1:209:6bff:fea0:e522");
check_truncation(context, "IPv6:2001:0db8:0001:0002:0003:0004:1428:07ab");
check_truncation(context, "IPv6:fe80::209:0:0:0");
check_truncation(context, "IPv6:fe80::ffff:ffff:ffff:ffff");
#endif