Development
This commit is contained in:
parent
6cd41dff1a
commit
936f2f7ea3
2 changed files with 4 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue