Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libpcap/lib search first for the kernel bpf_fil...



details:   https://anonhg.NetBSD.org/src/rev/fc3d60a4ed8c
branches:  trunk
changeset: 433284:fc3d60a4ed8c
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 05 17:10:27 2018 +0000

description:
search first for the kernel bpf_filter.c

diffstat:

 external/bsd/libpcap/lib/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r e8c1062d39db -r fc3d60a4ed8c external/bsd/libpcap/lib/Makefile
--- a/external/bsd/libpcap/lib/Makefile Wed Sep 05 17:10:07 2018 +0000
+++ b/external/bsd/libpcap/lib/Makefile Wed Sep 05 17:10:27 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/09/03 21:26:19 kre Exp $       
+# $NetBSD: Makefile,v 1.21 2018/09/05 17:10:27 christos Exp $  
 
 USE_SHLIBDIR=yes
 .include <bsd.own.mk>
@@ -24,6 +24,8 @@
            -e 's,3PCAP,3,g' < ${.ALLSRC} > ${.TARGET}
 
 
+# Search first in the kernel for bpf_filter.c
+.PATH: ${NETBSDSRCDIR}/sys/net
 SRCDIR=                ${.CURDIR}/../dist
 .PATH:         ${SRCDIR}
 
@@ -136,6 +138,7 @@
 
 SRCS= \
 bpf_dump.c \
+bpf_filter.c \
 bpf_image.c \
 etherent.c \
 fad-getad.c \
@@ -152,8 +155,6 @@
 sf-pcap.c \
 sf-pcapng.c
 
-.PATH: ${NETBSDSRCDIR}/sys/net
-SRCS+= bpf_filter.c
 
 INCS=          pcap/pcap.h pcap/namedb.h pcap/funcattrs.h \
        pcap/pcap-inttypes.h pcap/compiler-tests.h



Home | Main Index | Thread Index | Old Index