Source-Changes-HG archive

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

[src/trunk]: src/external/mpl/dhcp/dist/common PR/50893: Bruce Lilly: Handle ...



details:   https://anonhg.NetBSD.org/src/rev/561727b08ffc
branches:  trunk
changeset: 319490:561727b08ffc
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 01 00:42:49 2018 +0000

description:
PR/50893: Bruce Lilly: Handle carp interfaces.

XXX: pullup-8 (in src/external/bsd/dhcp/dist/common/bpf.c)

diffstat:

 external/mpl/dhcp/dist/common/bpf.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 432e26a0edb7 -r 561727b08ffc external/mpl/dhcp/dist/common/bpf.c
--- a/external/mpl/dhcp/dist/common/bpf.c       Thu May 31 23:46:59 2018 +0000
+++ b/external/mpl/dhcp/dist/common/bpf.c       Fri Jun 01 00:42:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpf.c,v 1.2 2018/04/07 22:37:29 christos Exp $ */
+/*     $NetBSD: bpf.c,v 1.3 2018/06/01 00:42:49 christos Exp $ */
 
 /* bpf.c
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: bpf.c,v 1.2 2018/04/07 22:37:29 christos Exp $");
+__RCSID("$NetBSD: bpf.c,v 1.3 2018/06/01 00:42:49 christos Exp $");
 
 #include "dhcpd.h"
 #if defined (USE_BPF_SEND) || defined (USE_BPF_RECEIVE)        \
@@ -674,6 +674,9 @@
         */
         switch (sa->sdl_type) {
                 case IFT_ETHER:
+#ifdef IFT_CARP
+               case IFT_CARP:
+#endif
 #if defined (IFT_L2VLAN)
                case IFT_L2VLAN:
 #endif



Home | Main Index | Thread Index | Old Index