]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: linux: try both iptables(8) and nft(8) on teardown
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 Dec 2019 16:24:04 +0000 (17:24 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 12 Dec 2019 16:24:04 +0000 (17:24 +0100)
commit6fbfa0d7bba47ef1445b2354609c0f1e3886f3dd
treebe140182b7f8f08a024618d5baa61845c0efb454
parent45417c5c0d20afb347a2daff186299c06af646e5
wg-quick: linux: try both iptables(8) and nft(8) on teardown

Daniel argues that technically a package manager could install nft(8)
after previously having started wg-quick(8) using iptables(8).

Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/linux.bash