iptables/iptables-1.3.0-no_root.patch
Thomas Woerner 62b5948287 [tw]
- Remove unnecessary explicit kernel dep (#146142)
- Fixed out of bounds accesses (#131848): Thanks to Steve Grubb for the
    patch
- Adapted iptables-config to reference to modprobe.conf (#150143)
- Remove misleading message (#140154): Thanks to Ulrich Drepper for the
    patch
2005-03-18 16:40:36 +00:00

12 lines
398 B
Diff

--- 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));