From: Harald Welte Date: Sat, 4 May 2002 10:37:52 +0000 (+0000) Subject: remove check of find_proto(), since do_command() can be called multiple times, X-Git-Tag: v1.2.7~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=731a7281dab2c035ba79a22781744fbc9c3d0271;p=thirdparty%2Fiptables.git remove check of find_proto(), since do_command() can be called multiple times, and match will be loaded after first call. --- 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 */