summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-02-24 21:10:19 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-02-24 21:10:19 +0100
commit76d76012f0653588fc02974aed4299552f719f01 (patch)
tree03b7183ef3b8de4a93758e56aecf2b20a9feb515 /lib
parent27265aaba0ed7d6256223e8424233af7c1dd1017 (diff)
Fix misleading error message with comment extension
Error message was totally misleading when comment extension was used when the set was defined without the extension. Reported by Drunkard Zhang.
Diffstat (limited to 'lib')
-rw-r--r--lib/errcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errcode.c b/lib/errcode.c
index 60220c7..d356264 100644
--- a/lib/errcode.c
+++ b/lib/errcode.c
@@ -75,7 +75,7 @@ static const struct ipset_errcode_table core_errcode_table[] = {
{ IPSET_ERR_COUNTER, 0,
"Packet/byte counters cannot be used: set was created without counter support" },
{ IPSET_ERR_COMMENT, 0,
- "Comment string is too long!" },
+ "Comment cannot be used: set was created without comment support" },
{ IPSET_ERR_SKBINFO, 0,
"Skbinfo mapping cannot be used: set was created without skbinfo support" },