aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2006-06-20 21:28:18 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2006-06-20 21:28:18 +0000
commit690d79381af2aaa73d538b5d7c65da77a4996287 (patch)
tree9e07e6ce85f872793ec9c87dccdca91a9748348d /sys/net
parentfb595e7a9bf2f8c04dcb4bbc3b2d98798a11d862 (diff)
downloadsrc-690d79381af2aaa73d538b5d7c65da77a4996287.tar.gz
src-690d79381af2aaa73d538b5d7c65da77a4996287.zip
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.
Notes
Notes: svn path=/head/; revision=159807
Diffstat (limited to 'sys/net')
-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 6a320c965001..3f0b17123b88 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: