From c1e04bd1b057151afaf7e6138089f2fe2c1b7d1c Mon Sep 17 00:00:00 2001 From: Maciej Zenczykowski Date: Mon, 4 Apr 2011 15:38:11 +0200 Subject: v4: rename do_command() to do_command4() Signed-off-by: Maciej Zenczykowski Signed-off-by: Patrick McHardy --- iptables.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index b7c94981..0995d6f3 100644 --- a/iptables.c +++ b/iptables.c @@ -1413,7 +1413,7 @@ static void command_match(struct iptables_command_state *cs) } } -int do_command(int argc, char *argv[], char **table, struct iptc_handle **handle) +int do_command4(int argc, char *argv[], char **table, struct iptc_handle **handle) { struct iptables_command_state cs; struct ipt_entry *e = NULL; @@ -1437,11 +1437,11 @@ int do_command(int argc, char *argv[], char **table, struct iptc_handle **handle cs.jumpto = ""; cs.argv = argv; - /* re-set optind to 0 in case do_command gets called + /* re-set optind to 0 in case do_command4 gets called * a second time */ optind = 0; - /* clear mflags in case do_command gets called a second time + /* clear mflags in case do_command4 gets called a second time * (we clear the global list of all matches for security)*/ for (m = xtables_matches; m; m = m->next) m->mflags = 0; -- cgit v1.2.3