summaryrefslogtreecommitdiff
path: root/data/hping/patch-ars.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/hping/patch-ars.c.diff')
-rw-r--r--data/hping/patch-ars.c.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/hping/patch-ars.c.diff b/data/hping/patch-ars.c.diff
new file mode 100644
index 000000000..74d0e4fe4
--- /dev/null
+++ b/data/hping/patch-ars.c.diff
@@ -0,0 +1,11 @@
+--- a/ars.c.orig 2004-04-14 14:30:18.000000000 +0200
++++ b/ars.c 2007-04-05 21:05:19.000000000 +0200
+@@ -914,7 +914,7 @@
+ return -ARS_INVALID;
+ }
+ ip = (struct ars_iphdr*) packet;
+-#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
++#if defined OSTYPE_DARWIN || OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI
+ ip->tot_len = ntohs(ip->tot_len);
+ ip->frag_off = ntohs(ip->frag_off);
+ #endif