nftables: add netdev REJECT support
This commit is contained in:
parent
e248668d1b
commit
25a5c04a23
|
@ -174,6 +174,8 @@ let
|
||||||
(whenAtLeast "4.17" yes) ];
|
(whenAtLeast "4.17" yes) ];
|
||||||
NF_TABLES_NETDEV = mkMerge [ (whenOlder "4.17" module)
|
NF_TABLES_NETDEV = mkMerge [ (whenOlder "4.17" module)
|
||||||
(whenAtLeast "4.17" yes) ];
|
(whenAtLeast "4.17" yes) ];
|
||||||
|
NFT_REJECT_NETDEV = whenAtLeast "5.11" module;
|
||||||
|
|
||||||
# IP: Netfilter Configuration
|
# IP: Netfilter Configuration
|
||||||
NF_TABLES_IPV4 = mkMerge [ (whenOlder "4.17" module)
|
NF_TABLES_IPV4 = mkMerge [ (whenOlder "4.17" module)
|
||||||
(whenAtLeast "4.17" yes) ];
|
(whenAtLeast "4.17" yes) ];
|
||||||
|
|
Loading…
Reference in a new issue