summaryrefslogtreecommitdiffstats
path: root/src/ipset.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-18 17:20:30 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-18 17:20:30 +0100
commit321ed946b892bcc6ce069553418c1b706912e8df (patch)
treedc6fc1b76d1c0ee72056d7cc4fd48b6232e15bfc /src/ipset.c
parentcac607bd8850e00356e4d97b05e7c8adfb3fa640 (diff)
Make IPv4 and IPv6 address handling similar
While the following works for AF_INET: ipset add foo 192.168.1.1/32 this does not work for AF_INET6: ipset add foo6 20a1:1:2:3:4:5:6:7/128 ipset v5.2: Syntax error: plain IP address must be supplied: 20a1:1:2:3:4:5:6:7/128 Bug reported by Holger Eitzenberger. The complete fix is to handle the special host prefixes in the general IP address parser function.
Diffstat (limited to 'src/ipset.c')
0 files changed, 0 insertions, 0 deletions