[packages] hping3: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20645 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
37eedeaee9
commit
d4b6d3c20e
@ -1,5 +1,5 @@
|
|||||||
--- hping3-20051105_orig/Makefile 2005-11-05 11:31:41.000000000 +0100
|
--- a/Makefile
|
||||||
+++ hping3-20051105/Makefile 2009-02-26 13:44:40.000000000 +0100
|
+++ b/Makefile
|
||||||
@@ -6,15 +6,15 @@
|
@@ -6,15 +6,15 @@
|
||||||
# $date: Sun Jul 25 17:56:15 MET DST 1999$
|
# $date: Sun Jul 25 17:56:15 MET DST 1999$
|
||||||
# $rev: 3$
|
# $rev: 3$
|
||||||
@ -22,7 +22,7 @@
|
|||||||
PCAP=-lpcap
|
PCAP=-lpcap
|
||||||
|
|
||||||
ARSOBJ = ars.o apd.o split.o rapd.o
|
ARSOBJ = ars.o apd.o split.o rapd.o
|
||||||
@@ -50,20 +50,16 @@
|
@@ -50,20 +50,16 @@ libars.a: $(ARSOBJ)
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
hping3: byteorder.h $(OBJ)
|
hping3: byteorder.h $(OBJ)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- hping3-20051105_orig/hping2.h 2004-06-04 09:22:38.000000000 +0200
|
--- a/hping2.h
|
||||||
+++ hping3-20051105/hping2.h 2009-02-26 15:42:14.000000000 +0100
|
+++ b/hping2.h
|
||||||
@@ -13,6 +13,7 @@
|
@@ -13,6 +13,7 @@
|
||||||
#ifndef _HPING2_H
|
#ifndef _HPING2_H
|
||||||
#define _HPING2_H
|
#define _HPING2_H
|
||||||
@ -21,7 +21,7 @@
|
|||||||
__u8 version:4,
|
__u8 version:4,
|
||||||
ihl:4;
|
ihl:4;
|
||||||
#else
|
#else
|
||||||
@@ -287,10 +288,10 @@
|
@@ -287,10 +288,10 @@ struct mytcphdr {
|
||||||
__u16 th_dport; /* destination port */
|
__u16 th_dport; /* destination port */
|
||||||
__u32 th_seq; /* sequence number */
|
__u32 th_seq; /* sequence number */
|
||||||
__u32 th_ack; /* acknowledgement number */
|
__u32 th_ack; /* acknowledgement number */
|
||||||
@ -34,9 +34,8 @@
|
|||||||
__u8 th_off:4, /* data offset */
|
__u8 th_off:4, /* data offset */
|
||||||
th_x2:4; /* (unused) */
|
th_x2:4; /* (unused) */
|
||||||
#else
|
#else
|
||||||
diff -urN hping3-20051105/bytesex.h hping3-20051105.new/bytesex.h
|
--- a/bytesex.h
|
||||||
--- hping3-20051105/bytesex.h 2003-08-31 19:23:48.000000000 +0200
|
+++ b/bytesex.h
|
||||||
+++ hping3-20051105.new/bytesex.h 2009-04-13 15:14:52.000000000 +0200
|
|
||||||
@@ -9,9 +9,11 @@
|
@@ -9,9 +9,11 @@
|
||||||
|
|
||||||
#if defined(__i386__) \
|
#if defined(__i386__) \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- hping3-20051105_orig/libpcap_stuff.c 2004-04-10 01:38:56.000000000 +0200
|
--- a/libpcap_stuff.c
|
||||||
+++ hping3-20051105/libpcap_stuff.c 2009-02-26 15:26:26.000000000 +0100
|
+++ b/libpcap_stuff.c
|
||||||
@@ -17,7 +17,7 @@
|
@@ -17,7 +17,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user