NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/50893: dhcpd fails on carp(4) interfaces



On Mar 4,  3:15pm, bruce.lilly%gmail.com@localhost (bruce.lilly%gmail.com@localhost) wrote:
-- Subject: misc/50893: dhcpd fails on carp(4) interfaces

| >Number:         50893
| >Category:       misc
| >Synopsis:       dhcpd fails on carp(4) interfaces
| >Confidential:   no
| >Severity:       serious
| >Priority:       medium
| >Responsible:    misc-bug-people
| >State:          open
| >Class:          sw-bug
| >Submitter-Id:   net
| >Arrival-Date:   Fri Mar 04 15:15:00 +0000 2016
| >Originator:     Bruce Lilly
| >Release:        NetBSD 7.0
| >Organization:
| >Environment:
| (you don't need the node name; here's ouput of uname -srmpio:)
| 

Can you please try this?

christos

Index: bpf.c
===================================================================
RCS file: /cvsroot/src/external/bsd/dhcp/dist/common/bpf.c,v
retrieving revision 1.3
diff -u -u -r1.3 bpf.c
--- bpf.c	12 Jul 2014 12:09:37 -0000	1.3
+++ bpf.c	4 Mar 2016 15:26:53 -0000
@@ -623,6 +623,7 @@
 	 */
         switch (sa->sdl_type) {
                 case IFT_ETHER:
+		case IFT_CARP:
                         hw->hlen = sa->sdl_alen + 1;
                         hw->hbuf[0] = HTYPE_ETHER;
                         memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);


Home | Main Index | Thread Index | Old Index