From 2423bdd15274aebf22ae2eee124c92717a13fae6 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Tue, 24 Jan 2023 18:35:15 -0800 Subject: [PATCH] fix xlink firewall rule inserted incorrectly (#671) --- files/etc/local/mesh-firewall/05-xlink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/local/mesh-firewall/05-xlink b/files/etc/local/mesh-firewall/05-xlink index aa752df1..aac942c3 100755 --- a/files/etc/local/mesh-firewall/05-xlink +++ b/files/etc/local/mesh-firewall/05-xlink @@ -75,6 +75,6 @@ if nixio.fs.stat("/etc/config.mesh/xlink") then end ) if addrule then - os.execute("/usr/sbin/nft add rule ip fw4 forward_dtdlink counter jump accept_to_dtdlink") + os.execute("/usr/sbin/nft insert rule ip fw4 forward_dtdlink counter jump accept_to_dtdlink") end end