swap net/bpf.h and pcap.h since it gives strange results when having the

net/libpcap installed.
This commit is contained in:
Edwin Groothuis 2004-04-09 03:11:19 +00:00
parent bb15a5b4e9
commit e13ceabf4d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106532

View file

@ -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>