From 87a34d7aef2cba833f4f36536575dee304bbece5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 7 May 2011 00:15:49 +0200 Subject: libxt_multiport: use guided option parser Signed-off-by: Jan Engelhardt --- xtoptions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xtoptions.c') 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; } -- cgit v1.2.3