bridge: Fix typo in error message for promiscuous mode

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
Takuya Noguchi 2021-08-09 09:44:50 +00:00
parent 649e0181fe
commit 24b3fbc635

View File

@ -431,7 +431,7 @@ func cmdAdd(args *skel.CmdArgs) error {
} }
if n.HairpinMode && n.PromiscMode { 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) br, brInterface, err := setupBridge(n)