diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-09-22 22:34:52 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-17 18:27:05 +0200 |
commit | 2b1a0db97d40b1b9d9240ac0bb0cc771eb359516 (patch) | |
tree | 522a7fbfa067df4e7b1224bb0a97eb5f0d2eb070 /COPYING | |
parent | 3ed932917cc744b489bd2706a55a1778b0b50c0e (diff) |
src: support ct l3proto/protocol without direction syntax
Acctually, ct l3proto and ct protocol are unrelated to direction, so
it's unnecessary that we must specify dir if we want to use them.
Now add support that we can match ct l3proto/protocol without direction:
# nft add rule filter input ct l3proto ipv4
# nft add rule filter output ct protocol 17
Note: existing syntax is still preserved, so "ct reply l3proto ipv6"
is still fine.
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions