summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/iptables.c b/iptables.c
index f77a6f08..344d2d65 100644
--- a/iptables.c
+++ b/iptables.c
@@ -1687,7 +1687,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
set_revision(target->t->u.user.name,
target->revision);
if (target->init != NULL)
- target->init(target->t, &fw.nfcache);
+ target->init(target->t);
opts = merge_options(opts, target->extra_opts, &target->option_offset);
}
break;
@@ -1739,7 +1739,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
strcpy(m->m->u.user.name, m->name);
set_revision(m->m->u.user.name, m->revision);
if (m->init != NULL)
- m->init(m->m, &fw.nfcache);
+ m->init(m->m);
if (m != m->next)
/* Merge options for non-cloned matches */
opts = merge_options(opts, m->extra_opts, &m->option_offset);
@@ -1832,7 +1832,6 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
argv, invert,
&matchp->match->mflags,
&fw,
- &fw.nfcache,
&matchp->match->m))
break;
}
@@ -1885,7 +1884,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
set_revision(m->m->u.user.name,
m->revision);
if (m->init != NULL)
- m->init(m->m, &fw.nfcache);
+ m->init(m->m);
opts = merge_options(opts,
m->extra_opts, &m->option_offset);
@@ -2016,7 +2015,7 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle)
set_revision(target->t->u.user.name,
target->revision);
if (target->init != NULL)
- target->init(target->t, &fw.nfcache);
+ target->init(target->t);
}
if (!target) {