-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Added -n option in iptables list cmd to prevent reverse dns lookup #2686
fix: Added -n option in iptables list cmd to prevent reverse dns lookup #2686
Conversation
cherry pick from commit id b8f6db6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One quick suggestion.
@@ -109,7 +109,7 @@ func RunCmd(version, params string) error { | |||
|
|||
// check if iptable chain alreay exists | |||
func ChainExists(version, tableName, chainName string) bool { | |||
params := fmt.Sprintf("-t %s -L %s", tableName, chainName) | |||
params := fmt.Sprintf("-t %s -nL %s", tableName, chainName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth documenting these flags here? I know that you can look them up from the manpage, but it might be helpful to put it in front of readers' faces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for suggestion. This is cherry-pick PR for backport release. will add it next time in the PR created against master
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run Azure Container Networking PR |
Azure Pipelines successfully started running 1 pipeline(s). |
cherry pick from commit id b8f6db6
Reason for Change:
Issue Fixed:
Cherry pick this PR #2682
Requirements:
Notes: