mirror of https://github.com/aredn/aredn.git
fix xlink firewall rule inserted incorrectly (#671)
This commit is contained in:
parent
773c69d171
commit
2423bdd152
|
@ -75,6 +75,6 @@ if nixio.fs.stat("/etc/config.mesh/xlink") then
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
if addrule then
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue