Skip to content

Commit

Permalink
cmd/tcpdrop: fix description copypaste artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Nov 7, 2023
1 parent a8cc1b6 commit 365245b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/agent/commands/tcpdrop.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ func BuildTCPDropCmd(env runtime.Environment, config *agent.Config) *cobra.Comma
Use: "tcp-drop",
Short: "tcp coneciton drop",
Long: "Disrupts TCP connections by terminating a certain percentage of them." +
" When running as a transparent proxy requires NET_ADMIM capabilities for setting" +
" iptable rules.",
" Requires either to be run as root, or the NET_ADMIN capability.",
RunE: func(cmd *cobra.Command, _ []string) error {
if filter.Port == 0 {
return fmt.Errorf("target port for fault injection is required")
Expand Down

0 comments on commit 365245b

Please sign in to comment.