diff options
author | 2016-11-21 08:27:59 +0000 | |
---|---|---|
committer | 2016-11-21 08:27:59 +0000 | |
commit | 89697764ebcaa8311fa7cc73aa72b8676d9df008 (patch) | |
tree | 82904b92b9a6db4a4f3731781e3d1ada4b411c0e | |
parent | Some MBIM devices need a FCC Authentication before they're willing to (diff) | |
download | wireguard-openbsd-89697764ebcaa8311fa7cc73aa72b8676d9df008.tar.xz wireguard-openbsd-89697764ebcaa8311fa7cc73aa72b8676d9df008.zip |
bridge(4) does not distinguish between routing/forwarding ports, so
make "addlocal" an alias to "add" on bridge. addlocal is handled
differently on switch(4).
OK yasuoka@
-rw-r--r-- | sys/net/if_bridge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index e74be534663..af5b7b2e779 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.288 2016/11/14 03:51:53 dlg Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.289 2016/11/21 08:27:59 reyk Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -270,6 +270,8 @@ bridge_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) s = splnet(); switch (cmd) { case SIOCBRDGADD: + /* bridge(4) does not distinguish between routing/forwarding ports */ + case SIOCBRDGADDL: if ((error = suser(curproc, 0)) != 0) break; |