summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2006-04-21 12:31:53 +0000
committerHarald Welte <laforge@gnumonks.org>2006-04-21 12:31:53 +0000
commit2998554a0f7fa98d22ca2076af4e6aa490d1ddae (patch)
tree7fac1dbfb6e7619e8e0f7b96ef8a9039d428a2ee
parent2cfbd9f565e91356679bdee3f1e9b3133a9d14ad (diff)
When entering an invalid command (such as iptables -A INPUT -j MARK --set-mark
1), the error message "Unknown error 4294967295" is displayed; (Closes: #460)
-rw-r--r--libiptc/libiptc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 3538cca8..d9767021 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -2258,6 +2258,8 @@ TC_STRERROR(int err)
"Bad built-in chain name" },
{ TC_SET_POLICY, EINVAL,
"Bad policy name" },
+ { TC_COMMIT, -1,
+ "Invalid argument (dmesg might have more information)" },
{ NULL, 0, "Incompatible with this kernel" },
{ NULL, ENOPROTOOPT, "iptables who? (do you need to insmod?)" },