summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-21 11:59:58 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-21 12:31:35 +0200
commit0859fdf5d0ae24c88e64246164c4959ad3b0d098 (patch)
treeed43ed62ff590d85f0d8e9ff51dfc3d636193a0f /extensions
parent975aeec7d34419fece8710997b6ec88cc0abb580 (diff)
libip6t_dst: restore setting IP6T_OPTS_LEN flag
Bug origin is in commit v1.4.11~26^2~18. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libip6t_dst.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c
index 4125bd3d..3fd4c019 100644
--- a/extensions/libip6t_dst.c
+++ b/extensions/libip6t_dst.c
@@ -111,6 +111,9 @@ static void dst_parse(struct xt_option_call *cb)
xtables_option_parse(cb);
switch (cb->entry->id) {
+ case O_DSTLEN:
+ optinfo->flags |= IP6T_OPTS_LEN;
+ break;
case O_DSTOPTS:
optinfo->optsnr = parse_options(cb->arg, optinfo->opts);
optinfo->flags |= IP6T_OPTS_OPTS;