dhcpd/dhcpd.patch

changeset 354
4ca17af53013
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dhcpd/dhcpd.patch	Thu Sep 15 11:49:33 2011 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +Index: common/bpf.c
     1.5 +--- common/bpf.c.orig	2009-11-20 02:48:59.000000000 +0100
     1.6 ++++ common/bpf.c	2010-11-27 09:53:47.000000000 +0100
     1.7 +@@ -580,6 +580,9 @@
     1.8 + 	 */
     1.9 +         switch (sa->sdl_type) {
    1.10 +                 case IFT_ETHER:
    1.11 ++#ifdef IFT_L2VLAN
    1.12 ++                case IFT_L2VLAN:
    1.13 ++#endif
    1.14 +                         hw->hlen = sa->sdl_alen + 1;
    1.15 +                         hw->hbuf[0] = HTYPE_ETHER;
    1.16 +                         memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);

mercurial