From 731a7281dab2c035ba79a22781744fbc9c3d0271 Mon Sep 17 00:00:00 2001 From: Harald Welte 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(-) diff --git a/iptables.c b/iptables.c index b5d35791..66f41a66 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