projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9246c
)
ircd_in_addr_t.c: Add test for the previous commit.
author
Michael Poole
<mdpoole@troilus.org>
Thu, 17 Sep 2015 00:36:17 +0000
(20:36 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Thu, 17 Sep 2015 00:36:17 +0000
(20:36 -0400)
ircd/test/ircd_in_addr_t.c
patch
|
blob
|
history
diff --git
a/ircd/test/ircd_in_addr_t.c
b/ircd/test/ircd_in_addr_t.c
index 7eaf56ee5e78f309cd595570118b9e32c4d7e518..af70be07bb12f176dbb0b6cfedd1f0ac06ce40e5 100644
(file)
--- a/
ircd/test/ircd_in_addr_t.c
+++ b/
ircd/test/ircd_in_addr_t.c
@@
-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 }
};