summaryrefslogtreecommitdiffstats
path: root/lib/errcode.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-04-09 17:17:00 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2013-04-09 21:42:16 +0200
commit5a6021823aa0da24b83f8d03f46ad4202f149fa3 (patch)
tree6ff41aa8262f2bcbd4c9bdc33d4aadc1b01d678f /lib/errcode.c
parent488c1e17e6fb7b6924b9d31372b05dc457d54cf4 (diff)
Support counters in the ipset library
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'lib/errcode.c')
-rw-r--r--lib/errcode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/errcode.c b/lib/errcode.c
index 1ce5c00..027a736 100644
--- a/lib/errcode.c
+++ b/lib/errcode.c
@@ -70,6 +70,8 @@ static const struct ipset_errcode_table core_errcode_table[] = {
"An IPv4 address is expected, but not received" },
{ IPSET_ERR_IPADDR_IPV6, 0,
"An IPv6 address is expected, but not received" },
+ { IPSET_ERR_COUNTER, 0,
+ "Packet/byte counters cannot be used: set was created without counter support" },
/* ADD specific error codes */
{ IPSET_ERR_EXIST, IPSET_CMD_ADD,