fix parsing postup/postdown

This commit is contained in:
Matthew R. Kasun
2022-08-25 09:38:36 -04:00
parent 997ec430ce
commit ed7e263fb1
2 changed files with 2 additions and 2 deletions

View File

@@ -317,7 +317,7 @@ func firewallNFTCommandsCreateEgress(networkInterface string, gatewayInterface s
postUp += "nft add chain nat POSTROUTING ; "
postUp += "nft add rule ip nat POSTROUTING oifname " + gatewayInterface + " counter masquerade ; "
postDown += "nft flush table nat; "
postDown += "nft flush table nat ; "
}
return postUp, postDown