diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2015-12-23 19:43:19 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-02-16 19:30:22 +0100 |
commit | e172b5f5920674b7992a124e335664e34a006b90 (patch) | |
tree | 977840293e750eb7def53666155a433db56816f3 /extensions/libip6t_mh.t | |
parent | 14b647d2edfb85fa93336cdf41348ec471410228 (diff) |
extensions: libxt_mark: Fix inversion code
Fix the code associated with invert flag.
Examples:
$ sudo iptables-translate -I INPUT -p tcp -m mark ! --mark 0xa/0xa
nft insert rule ip filter INPUT ip protocol tcp mark and 0xa != 0xa counter
$ sudo iptables-translate -I INPUT -p tcp -m mark ! --mark 0x1
nft insert rule ip filter INPUT ip protocol tcp mark != 0x1 counter
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_mh.t')
0 files changed, 0 insertions, 0 deletions