package/network-manager: set "nft" path if BR2_PACKAGE_NFTABLES=y
Nftables should be preferred over iptables if available, which
NetworkManager will do if both paths are set.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 7c8cca9baa)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
69428c911f
commit
32759b9782
@@ -130,6 +130,10 @@ else
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dnmtui=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NFTABLES),y)
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dnft=/usr/sbin/nft
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OFONO),y)
|
||||
NETWORK_MANAGER_DEPENDENCIES += ofono
|
||||
NETWORK_MANAGER_CONF_OPTS += -Dofono=true
|
||||
|
||||
Reference in New Issue
Block a user