summaryrefslogtreecommitdiff
path: root/net/isc-dhcp41-server/files/patch-server__bpf.c
blob: 8bf85e90253786fd5b7e02fe897ea153eb3c8023 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- 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);