aboutsummaryrefslogtreecommitdiff
path: root/net/despoof/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/despoof/files/patch-ab')
-rw-r--r--net/despoof/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/despoof/files/patch-ab b/net/despoof/files/patch-ab
new file mode 100644
index 000000000000..fde6ceb4a075
--- /dev/null
+++ b/net/despoof/files/patch-ab
@@ -0,0 +1,11 @@
+--- despoof.c.orig Sat Sep 2 18:34:37 2000
++++ despoof.c Sat Sep 2 18:34:45 2000
+@@ -150,7 +150,7 @@
+
+ if (targetaddr == ip->ip_src.s_addr)
+ {
+- if (((inquery == 1) && (icmp->icmp_type == ICMP_ECHOREPLY)) || ((inquery == 2) && (icmp->icmp_type == ICMP_TIMESTAMPREPLY)) || ((inquery == 3) && (sport == ntohs(tcphdr->th_dport))))
++ if (((inquery == 1) && (icmp->icmp_type == ICMP_ECHOREPLY)) || ((inquery == 2) && (icmp->icmp_type == ICMP_TSTAMPREPLY)) || ((inquery == 3) && (sport == ntohs(tcphdr->th_dport))))
+ {
+ if (ttlval == ip->ip_ttl)
+ {