aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-04-09 11:11:19 +0800
committeredwin <edwin@FreeBSD.org>2004-04-09 11:11:19 +0800
commitee57bec2c4c1664137124dd4686fd7b789debefd (patch)
tree55cfbd17639f28e0e895da7aeeb7d90862d9e6f1 /net
parentb60c4b4e216ae41537fc44dfd541549b97037af2 (diff)
downloadfreebsd-ports-gnome-ee57bec2c4c1664137124dd4686fd7b789debefd.tar.gz
freebsd-ports-gnome-ee57bec2c4c1664137124dd4686fd7b789debefd.tar.zst
freebsd-ports-gnome-ee57bec2c4c1664137124dd4686fd7b789debefd.zip
swap net/bpf.h and pcap.h since it gives strange results when having the
net/libpcap installed.
Diffstat (limited to 'net')
-rw-r--r--net/ngrep/files/patch-ngrep.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch-ngrep.c
new file mode 100644
index 000000000000..6d6c5d2290db
--- /dev/null
+++ b/net/ngrep/files/patch-ngrep.c
@@ -0,0 +1,12 @@
+--- ngrep.c.orig Fri Apr 9 13:09:16 2004
++++ ngrep.c Fri Apr 9 13:09:22 2004
+@@ -54,8 +54,8 @@
+ #include <netinet/udp.h>
+ #include <netinet/ip_icmp.h>
+
+-#include <pcap.h>
+ #include <net/bpf.h>
++#include <pcap.h>
+
+ #include <stdlib.h>
+ #include <string.h>