summaryrefslogtreecommitdiff
path: root/link.h
AgeCommit message (Expand)AuthorFilesLines
2013-12-18debian: define SPEED_UNKNOWN if missing in linux/ethtool.hJesper Dangaard Brouer1-0/+4
2013-06-04link: add link management functionsDaniel Borkmann1-0/+18
noscript>
authorLiping Zhang <liping.zhang@spreadtrum.com>2016-09-22 22:28:51 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-25 14:54:02 +0200
commitd767ff2c84f19be1aa403762f34eebbb403caf6d (patch)
treefd0b02f9d67749c6ada59b7db5558e92ed5fd604
parent8d11350f5f33378efc5f905bee325f3e76d6bcca (diff)
netfilter: nft_ct: unnecessary to require dir when use ct l3proto/protocol
Currently, if the user want to match ct l3proto, we must specify the direction, for example: # nft add rule filter input ct original l3proto ipv4 ^^^^^^^^ Otherwise, error message will be reported: # nft add rule filter input ct l3proto ipv4 nft add rule filter input ct l3proto ipv4 <cmdline>:1:1-38: Error: Could not process rule: Invalid argument add rule filter input ct l3proto ipv4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Actually, there's no need to require NFTA_CT_DIRECTION attr, because ct l3proto and protocol are unrelated to direction. And for compatibility, even if the user specify the NFTA_CT_DIRECTION attr, do not report error, just skip it. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat