summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2008-11-06 02:32:28 +0000
committerbrad <brad@openbsd.org>2008-11-06 02:32:28 +0000
commit25f04c70ad496686a5a51422916f214ef1cc2454 (patch)
tree6cbb771a1a45b89d0b5374db9cfa6f13bdb40157 /sys/dev/usb/if_url.c
parentadd support for iso8859-13 (diff)
downloadwireguard-openbsd-25f04c70ad496686a5a51422916f214ef1cc2454.tar.xz
wireguard-openbsd-25f04c70ad496686a5a51422916f214ef1cc2454.zip
Set the IFCAP_VLAN_MTU capabilities flag so these interfaces are allowed
to transmit full sized VLAN tagged frames.
Diffstat (limited to 'sys/dev/usb/if_url.c')
-rw-r--r--sys/dev/usb/if_url.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index 5f7497b72c7..adb06f86c58 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.52 2008/10/03 20:25:29 brad Exp $ */
+/* $OpenBSD: if_url.c,v 1.53 2008/11/06 02:32:29 brad Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -282,6 +282,8 @@ url_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
/*
* Do ifmedia setup.
*/