Blob Blame History Raw
--- iptables-1.3.0/iptables.c.no_root	2005-03-18 17:29:57.109501987 +0100
+++ iptables-1.3.0/iptables.c	2005-03-18 17:29:58.321405982 +0100
@@ -2300,7 +2300,7 @@
 		*handle = iptc_init(*table);
 
 	if (!*handle)
-		exit_error(VERSION_PROBLEM,
+		exit_error(errno == EPERM ? OTHER_PROBLEM : VERSION_PROBLEM,
 			   "can't initialize iptables table `%s': %s",
 			   *table, iptc_strerror(errno));