aboutsummaryrefslogtreecommitdiff
path: root/net/gspoof/files/patch-callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/gspoof/files/patch-callback.c')
-rw-r--r--net/gspoof/files/patch-callback.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/net/gspoof/files/patch-callback.c b/net/gspoof/files/patch-callback.c
deleted file mode 100644
index d1c9e09981de..000000000000
--- a/net/gspoof/files/patch-callback.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- callbacks.c.orig Wed Sep 25 04:19:53 2002
-+++ callbacks.c Wed May 7 03:40:18 2003
-@@ -194,13 +194,21 @@
- return;
- }
-
-+#ifdef __FreeBSD__
-+ if (atoi (gtk_entry_get_text (GTK_ENTRY(tcp_seq_txt))) > 4294970000 || atoi (gtk_entry_get_text (GTK_ENTRY(tcp_seq_txt))) < 0)
-+#else
- if (atoll (gtk_entry_get_text (GTK_ENTRY(tcp_seq_txt))) > 4294970000 || atoi (gtk_entry_get_text (GTK_ENTRY(tcp_seq_txt))) < 0)
-+#endif
- {
- info ("Error: sequence number is not valid, it must be between 0 and 2^32-1\n");
- return;
- }
-
-+#ifdef __FreeBSD__
-+ if (atoi (gtk_entry_get_text (GTK_ENTRY(tcp_ack_txt))) > 4294970000 || atoi (gtk_entry_get_text (GTK_ENTRY(tcp_ack_txt))) < 0)
-+#else
- if (atoll (gtk_entry_get_text (GTK_ENTRY(tcp_ack_txt))) > 4294970000 || atoi (gtk_entry_get_text (GTK_ENTRY(tcp_ack_txt))) < 0)
-+#endif
- {
- info ("Error: acknowledgement number is not valid, it must be between 0 and 2^32-1\n");
- return;