fix xlink firewall rule inserted incorrectly (#671)

This commit is contained in:
Tim Wilkinson 2023-01-24 18:35:15 -08:00 committed by GitHub
parent 773c69d171
commit 2423bdd152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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