bridge: Fix typo in error message for promiscuous mode
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
649e0181fe
commit
24b3fbc635
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user