luci-base: properly detect flow offloading capabilities with nftables
authorJo-Philipp Wich <jo@mein.io>
Thu, 20 Jan 2022 12:55:53 +0000 (13:55 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 20 Jan 2022 12:57:15 +0000 (13:57 +0100)
commit705d46b1a66b55da0bff0232c8fa54081786b067
tree0fe1b5abad668fe5a977fb9e2a67e67b5baeae56
parenta6b8a37bbd678d18666aca3d1601c209ca2d6451
luci-base: properly detect flow offloading capabilities with nftables

When the system is running with nftables instead of iptables, the
proprietary XT_FLOWOFFLOAD module will not be present, query the nft
equivalent instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/root/usr/libexec/rpcd/luci