We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e3859 commit 1fa7765Copy full SHA for 1fa7765
iptables/iptables.go
@@ -109,7 +109,7 @@ func RunCmd(version, params string) error {
109
110
// check if iptable chain alreay exists
111
func ChainExists(version, tableName, chainName string) bool {
112
- params := fmt.Sprintf("-t %s -L %s", tableName, chainName)
+ params := fmt.Sprintf("-t %s -nL %s", tableName, chainName)
113
if err := RunCmd(version, params); err != nil {
114
return false
115
}
0 commit comments