From fa2713cc37d19ad4872218277a1813f68e1fc296 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 4 May 2002 10:37:52 +0000 Subject: remove check of find_proto(), since do_command() can be called multiple times, and match will be loaded after first call. --- iptables.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index b5d3579..66f41a6 100644 --- a/iptables.c +++ b/iptables.c @@ -2054,8 +2054,6 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle) actually hear this code suck. */ if (m == NULL && protocol - && !find_proto(protocol, DONT_LOAD, - options&OPT_NUMERIC) && (m = find_proto(protocol, TRY_LOAD, options&OPT_NUMERIC))) { /* Try loading protocol */ -- cgit v1.2.3