ALT Linux repos
Group :: Security/Networking
RPM: hping3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: hping3-20051105-pcap.patch
Download
Download
--- hping3-20051105/libpcap_stuff.c 2004-04-10 07:38:56.000000000 +0800
+++ hping3-20051105.new/libpcap_stuff.c 2010-12-14 22:41:59.000000000 +0700
@@ -17,7 +17,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#include <pcap.h>
-#include <net/bpf.h>
+#include <pcap/bpf.h>
#include "globals.h"
--- hping3-20051105/script.c.orig 2010-12-14 23:16:26.000000000 +0700
+++ hping3-20051105/script.c 2010-12-14 23:16:35.000000000 +0700
@@ -24,7 +24,7 @@
#include <sys/ioctl.h>
#include <pcap.h>
-#include <net/bpf.h>
+#include <pcap/bpf.h>
#include "release.h"
#include "hping2.h"