summaryrefslogtreecommitdiffstats
path: root/ip6tables.c
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2011-04-04 15:38:44 +0200
committerPatrick McHardy <kaber@trash.net>2011-04-04 15:38:44 +0200
commit742e9a43c314b45a76acdac8f53d36f1337154bf (patch)
tree423a80e9f81b743b04df9d0b60f2dcfbb34bac7f /ip6tables.c
parentc1e04bd1b057151afaf7e6138089f2fe2c1b7d1c (diff)
v6: rename do_command() to do_command6()
(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>
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 83d8aed2..15508d6e 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -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;