summaryrefslogtreecommitdiffstats
path: root/xtoptions.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-05-07 00:15:49 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-05-09 00:49:03 +0200
commit87a34d7aef2cba833f4f36536575dee304bbece5 (patch)
treeadd81c554a93e5d2fcb9b5a8507dd47d2ba92c51 /xtoptions.c
parent94cd683a969e024ec870df258fafd790b8a1abf1 (diff)
libxt_multiport: use guided option parser
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xtoptions.c')
-rw-r--r--xtoptions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xtoptions.c b/xtoptions.c
index 36f90e47..413de1b8 100644
--- a/xtoptions.c
+++ b/xtoptions.c
@@ -808,6 +808,7 @@ void xtables_option_tpcall(unsigned int c, char **argv, bool invert,
cb.data = t->t->data;
cb.xflags = t->tflags;
cb.target = &t->t;
+ cb.xt_entry = fw;
t->x6_parse(&cb);
t->tflags = cb.xflags;
}
@@ -842,6 +843,7 @@ void xtables_option_mpcall(unsigned int c, char **argv, bool invert,
cb.data = m->m->data;
cb.xflags = m->mflags;
cb.match = &m->m;
+ cb.xt_entry = fw;
m->x6_parse(&cb);
m->mflags = cb.xflags;
}