Skip to content

Commit

Permalink
Merge pull request #651 from tnir/tnir/bridge/promiscuous
Browse files Browse the repository at this point in the history
bridge: Fix typo in error message for promiscuous mode
  • Loading branch information
squeed authored Aug 10, 2021
2 parents 0e64b0f + 24b3fbc commit 7995c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/main/bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func cmdAdd(args *skel.CmdArgs) error {
}

if n.HairpinMode && n.PromiscMode {
return fmt.Errorf("cannot set hairpin mode and promiscous mode at the same time.")
return fmt.Errorf("cannot set hairpin mode and promiscuous mode at the same time.")
}

br, brInterface, err := setupBridge(n)
Expand Down

0 comments on commit 7995c2d

Please sign in to comment.