Package: irpas / 0.10-8

use-debian-libpcap.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: Fixes to work with the system wide libpcap
Author: Vince Mulhollon <vlm@debian.org>, Romain Francoise <rfrancoise@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480578
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ass_v1.c
+++ b/ass_v1.c
@@ -27,7 +27,7 @@
 
 /* we need a sniffer enigine here */
 #include <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 
 /* definitions */
 #define IPTTL		0x80
--- a/dhcpx.c
+++ b/dhcpx.c
@@ -26,7 +26,7 @@
 
 /* we need a sniffer enigine here */
 #include <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 
 /* definitions */
 #define IP_BCAST	"255.255.255.255"
--- a/icmp_redirect.c
+++ b/icmp_redirect.c
@@ -24,7 +24,7 @@
 #include "build.h"
 
 #include <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 
 /* definitions */
 #define IPTTL		0x80
--- a/irdpresponder.c
+++ b/irdpresponder.c
@@ -24,7 +24,7 @@
 #include <net/if.h>
 
 #include <pcap.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
 
 #include "protocols.h"
 #include "packets.h"