From: Rusty Russell Date: Wed, 23 Aug 2000 07:54:20 +0000 (+0000) Subject: Better message for table does not exist. X-Git-Tag: v1.2.1~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d57390ea8aaeecbcd69ad2b44f76d0f7973363d3;p=thirdparty%2Fiptables.git Better message for table does not exist. --- diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 3e1e9f64..781a42db 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -1587,6 +1587,7 @@ TC_STRERROR(int err) { NULL, ENOMEM, "Memory allocation problem" }, { TC_INIT, EPERM, "Permission denied (you must be root)" }, { TC_INIT, EINVAL, "Module is wrong version" }, + { TC_INIT, ENOENT, "Table does not exist (do you need to insmod?)" }, { TC_DELETE_CHAIN, ENOTEMPTY, "Chain is not empty" }, { TC_DELETE_CHAIN, EINVAL, "Can't delete built-in chain" }, { TC_DELETE_CHAIN, EMLINK,