projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipmask_parse: Reject a full IPv6 address followed by ::.
[ircu2.10.12-pk.git]
/
ircd
/
test
/
ircd_in_addr_t.c
diff --git
a/ircd/test/ircd_in_addr_t.c
b/ircd/test/ircd_in_addr_t.c
index af70be07bb12f176dbb0b6cfedd1f0ac06ce40e5..381460789508a7cb0911744a1b4b571ca9efae7e 100644
(file)
--- a/
ircd/test/ircd_in_addr_t.c
+++ b/
ircd/test/ircd_in_addr_t.c
@@
-126,6
+126,8
@@
static struct ipmask_test test_masks[] = {
{ "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 },
+ { "1234:5678:9abc:def0:feed:abba:cabb:1e55::",
+ {{ 0, 0, 0, 0, 0, 0, 0, 0 }}, 1, 0, 0 },
{ 0 }
};