summaryrefslogtreecommitdiffstats
path: root/libiptc/libiptc.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-08-23 07:54:20 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-08-23 07:54:20 +0000
commitd57390ea8aaeecbcd69ad2b44f76d0f7973363d3 (patch)
tree9018dcb229b66adec93bcd8761dcb9c5b2d0e89d /libiptc/libiptc.c
parent45fe27fd46b986db49f64c9058b0fbba21c9e01c (diff)
Better message for table does not exist.
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r--libiptc/libiptc.c1
1 files changed, 1 insertions, 0 deletions
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,