Skip to content

Commit

Permalink
bridge: Fix typo in error message for promiscuous mode
Browse files Browse the repository at this point in the history
Signed-off-by: Takuya Noguchi <[email protected]>
  • Loading branch information
tnir committed Aug 9, 2021
1 parent 649e018 commit 24b3fbc
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 24b3fbc

Please sign in to comment.