[packages] hping3: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20645 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-04-01 05:57:20 +00:00
parent 37eedeaee9
commit d4b6d3c20e
3 changed files with 10 additions and 11 deletions

View File

@ -1,5 +1,5 @@
--- hping3-20051105_orig/Makefile 2005-11-05 11:31:41.000000000 +0100
+++ hping3-20051105/Makefile 2009-02-26 13:44:40.000000000 +0100
--- a/Makefile
+++ b/Makefile
@@ -6,15 +6,15 @@
# $date: Sun Jul 25 17:56:15 MET DST 1999$
# $rev: 3$
@ -22,7 +22,7 @@
PCAP=-lpcap
ARSOBJ = ars.o apd.o split.o rapd.o
@@ -50,20 +50,16 @@
@@ -50,20 +50,16 @@ libars.a: $(ARSOBJ)
$(RANLIB) $@
hping3: byteorder.h $(OBJ)

View File

@ -1,5 +1,5 @@
--- hping3-20051105_orig/hping2.h 2004-06-04 09:22:38.000000000 +0200
+++ hping3-20051105/hping2.h 2009-02-26 15:42:14.000000000 +0100
--- a/hping2.h
+++ b/hping2.h
@@ -13,6 +13,7 @@
#ifndef _HPING2_H
#define _HPING2_H
@ -21,7 +21,7 @@
__u8 version:4,
ihl:4;
#else
@@ -287,10 +288,10 @@
@@ -287,10 +288,10 @@ struct mytcphdr {
__u16 th_dport; /* destination port */
__u32 th_seq; /* sequence number */
__u32 th_ack; /* acknowledgement number */
@ -34,9 +34,8 @@
__u8 th_off:4, /* data offset */
th_x2:4; /* (unused) */
#else
diff -urN hping3-20051105/bytesex.h hping3-20051105.new/bytesex.h
--- hping3-20051105/bytesex.h 2003-08-31 19:23:48.000000000 +0200
+++ hping3-20051105.new/bytesex.h 2009-04-13 15:14:52.000000000 +0200
--- a/bytesex.h
+++ b/bytesex.h
@@ -9,9 +9,11 @@
#if defined(__i386__) \

View File

@ -1,5 +1,5 @@
--- hping3-20051105_orig/libpcap_stuff.c 2004-04-10 01:38:56.000000000 +0200
+++ hping3-20051105/libpcap_stuff.c 2009-02-26 15:26:26.000000000 +0100
--- a/libpcap_stuff.c
+++ b/libpcap_stuff.c
@@ -17,7 +17,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>