iptables: switch from iptables-legacy to iptables-nftables-compat

This should ease the migration to nftables.
This commit is contained in:
misuzu 2020-02-27 12:47:33 +02:00
parent 31ffc50c57
commit cf9ac2b544
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, pkg-config, pruneLibtoolFiles, flex, bison
, libmnl, libnetfilter_conntrack, libnfnetlink, libnftnl, libpcap
, nftablesCompat ? false
, nftablesCompat ? true
}:
with lib;

View file

@ -4,7 +4,7 @@
, gmp, jansson, readline
, withDebugSymbols ? false
, withPython ? false , python3
, withXtables ? false , iptables
, withXtables ? true , iptables
}:
with lib;

View file

@ -21396,9 +21396,9 @@ with pkgs;
iputils = hiPrio (callPackage ../os-specific/linux/iputils { });
# hiPrio for collisions with inetutils (ping and tftpd.8.gz)
iptables = iptables-legacy;
iptables-legacy = callPackage ../os-specific/linux/iptables { };
iptables-nftables-compat = callPackage ../os-specific/linux/iptables { nftablesCompat = true; };
iptables = callPackage ../os-specific/linux/iptables { };
iptables-legacy = callPackage ../os-specific/linux/iptables { nftablesCompat = false; };
iptables-nftables-compat = iptables;
iptstate = callPackage ../os-specific/linux/iptstate { } ;