summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-06-20 21:28:18 +0000
committerthompsa <thompsa@FreeBSD.org>2006-06-20 21:28:18 +0000
commit079c3bb7eb89d208baf9213e898444aaf349be2c (patch)
tree9e07e6ce85f872793ec9c87dccdca91a9748348d /sys/net/if_bridge.c
parent812b7bfa20d5eb0ecef5698a14ba0876a7897fbb (diff)
downloadFreeBSD-src-079c3bb7eb89d208baf9213e898444aaf349be2c.zip
FreeBSD-src-079c3bb7eb89d208baf9213e898444aaf349be2c.tar.gz
Allow gif interfaces to be added as span ports, the user may want to send a
copy of all packets to the other side of the world.
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r--sys/net/if_bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 6a320c9..3f0b171 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1363,6 +1363,7 @@ bridge_ioctl_addspan(struct bridge_softc *sc, void *arg)
switch (ifs->if_type) {
case IFT_ETHER:
+ case IFT_GIF:
case IFT_L2VLAN:
break;
default:
OpenPOWER on IntegriCloud