mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
10 lines
416 B
C
10 lines
416 B
C
--- common/bpf.c.orig 2010-10-22 10:38:06.623559939 +0400
|
|
+++ common/bpf.c 2010-10-22 10:38:26.436563986 +0400
|
|
@@ -577,6 +577,7 @@
|
|
*/
|
|
switch (sa->sdl_type) {
|
|
case IFT_ETHER:
|
|
+ case IFT_L2VLAN:
|
|
hw->hlen = sa->sdl_alen + 1;
|
|
hw->hbuf[0] = HTYPE_ETHER;
|
|
memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);
|