diff options
Diffstat (limited to 'net/gspoof/files/patch-gfuncts.c')
-rw-r--r-- | net/gspoof/files/patch-gfuncts.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net/gspoof/files/patch-gfuncts.c b/net/gspoof/files/patch-gfuncts.c deleted file mode 100644 index 9a782c39b04..00000000000 --- a/net/gspoof/files/patch-gfuncts.c +++ /dev/null @@ -1,27 +0,0 @@ ---- gfuncts.c.orig Sat Aug 30 00:16:50 2003 -+++ gfuncts.c Sat Aug 30 15:58:09 2003 -@@ -382,14 +382,24 @@ - info ("Invalid destination port value\n"); - return -1; - } -+#ifdef __FreeBSD__ -+ if (strtoll(gtk_entry_get_text(GTK_ENTRY(seq_entry)), NULL, 10)<0 || -+ strtoll(gtk_entry_get_text(GTK_ENTRY(seq_entry)), NULL, 10)>4294970000) -+#else - if (atoll(gtk_entry_get_text(GTK_ENTRY(seq_entry)))<0 || - atoll(gtk_entry_get_text(GTK_ENTRY(seq_entry)))>4294970000) -+#endif - { - info ("Invalid sequence number value\n"); - return -1; - } -+#ifdef __FreeBSD__ -+ if (strtoll(gtk_entry_get_text(GTK_ENTRY(ack_entry)), NULL, 10)<0 || -+ strtoll(gtk_entry_get_text(GTK_ENTRY(ack_entry)), NULL, 10)>4294970000) -+#else - if (atoll(gtk_entry_get_text(GTK_ENTRY(ack_entry)))<0 || - atoll(gtk_entry_get_text(GTK_ENTRY(ack_entry)))>4294970000) -+#endif - { - info ("Invalid acknowledgment value\n"); - return -1; |