summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdw <>2011-10-03 20:44:33 +0000
committerpdw <>2011-10-03 20:44:33 +0000
commitc387bd743093d0b8ae83cfb7c442a5351dd27094 (patch)
tree3de9ef00a35744aa4801aede55f445afd7720f92
parent06458b6deb40a7012a26f98753778c36378849aa (diff)
downloadiftop-c387bd743093d0b8ae83cfb7c442a5351dd27094.zip
Removed net/bpf.h as it reportedly breaks on Slackware.
Was added by PFLOG patch but the relevant definitions should be in pcap/bpf.h
-rw-r--r--iftop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iftop.c b/iftop.c
index 7be6ed0..a604350 100644
--- a/iftop.c
+++ b/iftop.c
@@ -12,7 +12,8 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
-#include <net/bpf.h>
+/* include <net/bpf.h> -- this was added by the PFLOG patch but seems
+ * superfluous and breaks on Slackware */
#if defined(HAVE_PCAP_H)
# include <pcap.h>
#elif defined(HAVE_PCAP_PCAP_H)