Development

This commit is contained in:
Matthew Grotke 2026-05-31 23:57:49 -04:00
parent 6cd41dff1a
commit 936f2f7ea3
2 changed files with 4 additions and 4 deletions

View file

@ -1573,7 +1573,7 @@ def build_nft_config(data, dry_run=False):
if port_spec is not None:
line(f" ip saddr {src} ip daddr {dst} {proto} dport {port_spec} ct state new accept")
else:
line(f" ip saddr {src} ip daddr {dst} {proto} ct state new accept")
line(f" ip saddr {src} ip daddr {dst} ip protocol {proto} ct state new accept")
line()
if all_fwd: