summaryrefslogtreecommitdiffstats
path: root/iptables/xtoptions.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-06-30 13:35:56 +0200
committerPatrick McHardy <kaber@trash.net>2011-06-30 13:35:56 +0200
commit411b390f3ffcd4708a0dfc0f2824a637de511cea (patch)
tree50645beb44d0a617d17eb15636f149720061e31f /iptables/xtoptions.c
parent3b7a22b44d74b9b05d5e4b0529ebf72c49dcbff5 (diff)
parent1c9508e1f3f853f33683eb7118e19b193a6c80b7 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'iptables/xtoptions.c')
-rw-r--r--iptables/xtoptions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iptables/xtoptions.c b/iptables/xtoptions.c
index ac0601f2..1423724b 100644
--- a/iptables/xtoptions.c
+++ b/iptables/xtoptions.c
@@ -908,6 +908,7 @@ void xtables_option_tpcall(unsigned int c, char **argv, bool invert,
cb.xflags = t->tflags;
cb.target = &t->t;
cb.xt_entry = fw;
+ cb.udata = t->udata;
t->x6_parse(&cb);
t->tflags = cb.xflags;
}
@@ -943,6 +944,7 @@ void xtables_option_mpcall(unsigned int c, char **argv, bool invert,
cb.xflags = m->mflags;
cb.match = &m->m;
cb.xt_entry = fw;
+ cb.udata = m->udata;
m->x6_parse(&cb);
m->mflags = cb.xflags;
}
@@ -1028,6 +1030,7 @@ void xtables_option_tfcall(struct xtables_target *t)
cb.ext_name = t->name;
cb.data = t->t->data;
cb.xflags = t->tflags;
+ cb.udata = t->udata;
t->x6_fcheck(&cb);
} else if (t->final_check != NULL) {
t->final_check(t->tflags);
@@ -1048,6 +1051,7 @@ void xtables_option_mfcall(struct xtables_match *m)
cb.ext_name = m->name;
cb.data = m->m->data;
cb.xflags = m->mflags;
+ cb.udata = m->udata;
m->x6_fcheck(&cb);
} else if (m->final_check != NULL) {
m->final_check(m->mflags);