diff options
author | Florian Westphal <fw@strlen.de> | 2015-02-19 12:26:42 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2015-02-19 17:44:06 +0100 |
commit | bf7b8099144602de83ea44869a9137494865f105 (patch) | |
tree | 31b4132195554a30abde40f6652cde32778b0ddd /extensions/libip6t_dst.c | |
parent | 8090dbc39f20dcc937c3c13d9131500655196cf0 (diff) |
extensions: libip6t_dst: make inversion work
The inversion flag wasn't set in the match struct.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libip6t_dst.c')
-rw-r--r-- | extensions/libip6t_dst.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c index 3fd4c019..fe7e3403 100644 --- a/extensions/libip6t_dst.c +++ b/extensions/libip6t_dst.c @@ -112,6 +112,8 @@ static void dst_parse(struct xt_option_call *cb) xtables_option_parse(cb); switch (cb->entry->id) { case O_DSTLEN: + if (cb->invert) + optinfo->invflags |= IP6T_OPTS_INV_LEN; optinfo->flags |= IP6T_OPTS_LEN; break; case O_DSTOPTS: |