summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_url.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-11-06 02:32:30 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-11-06 02:32:30 +0000
commit6e64ef319dbd93c0fb085debf78fc39822d82865 (patch)
treeee12aeca459c377202c7a8e365950b16eebd4138 /sys/dev/usb/if_url.c
parent56a4de48328c4166c7a421c847388b20f1f5d79c (diff)
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.
*/