source:
npl/internetserver/poptop_ppp/patches/ppp-2.4.3-bpf.patch
@
5160d62
Last change on this file since 5160d62 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.6 KB |
-
ppp-2.4.3/pppd/demand.c
Fix up header file names for old libpcap versions
44 44 #include <sys/stat.h> 45 45 #include <sys/socket.h> 46 46 #ifdef PPP_FILTER 47 #include < pcap-bpf.h>47 #include <net/bpf.h> 48 48 #endif 49 49 50 50 #include "pppd.h" -
ppp-2.4.3/pppd/sys-linux.c
136 136 #endif /* IPX_CHANGE */ 137 137 138 138 #ifdef PPP_FILTER 139 #include < pcap-bpf.h>139 #include <net/bpf.h> 140 140 #include <linux/filter.h> 141 141 #endif /* PPP_FILTER */ 142 142 -
ppp-2.4.3/pppd/Makefile.linux
172 172 endif 173 173 174 174 ifdef FILTER 175 ifneq ($(wildcard /usr/include/ pcap-bpf.h),)175 ifneq ($(wildcard /usr/include/net/bpf.h),) 176 176 LIBS += -lpcap 177 177 CFLAGS += -DPPP_FILTER 178 178 endif -
ppp-2.4.3/pppd/Makefile.linux.lib64
171 171 endif 172 172 173 173 ifdef FILTER 174 ifneq ($(wildcard /usr/include/ pcap-bpf.h),)174 ifneq ($(wildcard /usr/include/net/bpf.h),) 175 175 LIBS += -lpcap 176 176 CFLAGS += -DPPP_FILTER 177 177 endif -
ppp-2.4.3/pppd/Makefile.linux.make
171 171 endif 172 172 173 173 ifdef FILTER 174 ifneq ($(wildcard /usr/include/ pcap-bpf.h),)174 ifneq ($(wildcard /usr/include/net/bpf.h),) 175 175 LIBS += -lpcap 176 176 CFLAGS += -DPPP_FILTER 177 177 endif
Note: See TracBrowser
for help on using the repository browser.