Skip to content

Commit

Permalink
init: T3355: always use full nft command name (e.g. --file over -f)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0529371)
  • Loading branch information
c-po authored and mergify[bot] committed Apr 2, 2024
1 parent 9ff1172 commit 33b031c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/vyos-router
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,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
Expand Down

0 comments on commit 33b031c

Please sign in to comment.