]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
v6: rename do_command() to do_command6()
authorMaciej Zenczykowski <maze@google.com>
Mon, 4 Apr 2011 13:38:44 +0000 (15:38 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 4 Apr 2011 13:38:44 +0000 (15:38 +0200)
(actually only applies to two comments, since the
function has long been called do_command6)

Signed-off-by: Maciej Zenczykowski <maze@google.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
ip6tables.c

index 83d8aed2507a1d40da681d8011c00d091af716ed..15508d6e2fa9e20d56be28a52d6f0f03086f6bc7 100644 (file)
@@ -1407,11 +1407,11 @@ int do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **hand
        cs.jumpto = "";
        cs.argv = argv;
 
-       /* re-set optind to 0 in case do_command gets called
+       /* re-set optind to 0 in case do_command6 gets called
         * a second time */
        optind = 0;
 
-       /* clear mflags in case do_command gets called a second time
+       /* clear mflags in case do_command6 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;