ircd_in_addr_t.c: Add test for the previous commit.
authorMichael Poole <mdpoole@troilus.org>
Thu, 17 Sep 2015 00:36:17 +0000 (20:36 -0400)
committerMichael Poole <mdpoole@troilus.org>
Thu, 17 Sep 2015 00:36:17 +0000 (20:36 -0400)
ircd/test/ircd_in_addr_t.c

index 7eaf56ee5e78f309cd595570118b9e32c4d7e518..af70be07bb12f176dbb0b6cfedd1f0ac06ce40e5 100644 (file)
@@ -124,6 +124,8 @@ static struct ipmask_test test_masks[] = {
     { "a:*:*", {{ 0xa, 0, 0, 0, 0, 0, 0, 0 }}, 1, 1, 16 },
     { "a:/16", {{ 0xa, 0, 0, 0, 0, 0, 0, 0 }}, 1, 1, 16 },
     { "0.0.0.0.0/1", {{ 0, 0, 0, 0, 0, 0, 0, 0 }}, 0, 0, 0 },
+    { "2607:3f00:1:30c:9999*",
+      {{ 0x2607, 0x3f00, 1, 0x30c, 0x9999, 0, 0, 0 }}, 1, 1, 80 },
     { 0 }
 };