diff options
Diffstat (limited to 'iptables/iptables.c')
-rw-r--r-- | iptables/iptables.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/iptables/iptables.c b/iptables/iptables.c index 5fec2537..df371f41 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -343,18 +343,6 @@ opt2char(int option) */ /* Christophe Burki wants `-p 6' to imply `-m tcp'. */ -/* Can't be zero. */ -static int -parse_rulenumber(const char *rule) -{ - unsigned int rulenum; - - if (!xtables_strtoui(rule, NULL, &rulenum, 1, INT_MAX)) - xtables_error(PARAMETER_PROBLEM, - "Invalid rule number `%s'", rule); - - return rulenum; -} static void parse_chain(const char *chainname) |