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 90909a2 commit bfa170eCopy full SHA for bfa170e
iptables/iptables.go
@@ -118,7 +118,7 @@ func (c *Client) RunCmd(version, params string) error {
118
119
// check if iptable chain alreay exists
120
func (c *Client) ChainExists(version, tableName, chainName string) bool {
121
- params := fmt.Sprintf("-t %s -L %s", tableName, chainName)
+ params := fmt.Sprintf("-t %s -nL %s", tableName, chainName)
122
if err := c.RunCmd(version, params); err != nil {
123
return false
124
}
0 commit comments