From: Harald Welte Date: Fri, 21 Apr 2006 12:31:53 +0000 (+0000) Subject: When entering an invalid command (such as iptables -A INPUT -j MARK --set-mark X-Git-Tag: v1.3.6~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2998554a0f7fa98d22ca2076af4e6aa490d1ddae;p=thirdparty%2Fiptables.git 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) --- 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?)" },