summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-21 11:54:01 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-21 12:31:07 +0200
commit975aeec7d34419fece8710997b6ec88cc0abb580 (patch)
tree67b31b1f0299addd477962aa305d0d0653b96ee7 /extensions
parentde1f06dca906bfcb82d7c7c2d555fbf3229d12b6 (diff)
libip6t_hbh: restore setting IP6T_OPTS_LEN flag
Bug origin is in commit v1.4.11~26^2~17. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libip6t_hbh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c
index 809e80d5..c0389ed8 100644
--- a/extensions/libip6t_hbh.c
+++ b/extensions/libip6t_hbh.c
@@ -108,6 +108,7 @@ static void hbh_parse(struct xt_option_call *cb)
case O_HBH_LEN:
if (cb->invert)
optinfo->invflags |= IP6T_OPTS_INV_LEN;
+ optinfo->flags |= IP6T_OPTS_LEN;
break;
case O_HBH_OPTS:
optinfo->optsnr = parse_options(cb->arg, optinfo->opts);