summaryrefslogtreecommitdiff
path: root/src/init/vyos-router
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-02 18:32:23 +0200
committerGitHub <noreply@github.com>2024-04-02 18:32:23 +0200
commit7ee2f016878ed29120baa66f8e1d372f97402c96 (patch)
treee480e1f12e0ca1dbe4c29fdccf213063ceda32a3 /src/init/vyos-router
parent2a031e68cbe6b0e9beb6e57b2f93b4ec4d95c84f (diff)
parent0529371bc587e2fcdd8794061e9bb9d60c792c43 (diff)
downloadvyos-1x-7ee2f016878ed29120baa66f8e1d372f97402c96.tar.gz
vyos-1x-7ee2f016878ed29120baa66f8e1d372f97402c96.zip
Merge pull request #3230 from c-po/syntax-cleanup
firewall: nat: policy: vrf: nft call syntax and import cleanup
Diffstat (limited to 'src/init/vyos-router')
-rwxr-xr-xsrc/init/vyos-router2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router
index adf892371..06fea140d 100755
--- a/src/init/vyos-router
+++ b/src/init/vyos-router
@@ -430,7 +430,7 @@ start ()
nfct helper add rpc inet6 tcp
nfct helper add rpc inet6 udp
nfct helper add tns inet6 tcp
- nft -f /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules"
+ nft --file /usr/share/vyos/vyos-firewall-init.conf || log_failure_msg "could not initiate firewall rules"
# As VyOS does not execute commands that are not present in the CLI we call
# the script by hand to have a single source for the login banner and MOTD