diff options
author | Michael Haro <mharo@FreeBSD.org> | 2001-04-02 05:33:40 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2001-04-02 05:33:40 +0000 |
commit | 12decc890db291bd07426785ce4f51d5ffd87fc1 (patch) | |
tree | 3b21e4d8def233cfb95d3e47a1611c3d1b9da3f0 /security/nmapfe | |
parent | Add official patch to not coredump on missing ServerName (diff) |
Correct incorrect format of command if "Fast scan" option is enabled
PR: 26158
Submitted by: Victor Bondarenko <victor@indite.org>
Notes
Notes:
svn path=/head/; revision=40715
Diffstat (limited to 'security/nmapfe')
-rw-r--r-- | security/nmapfe/files/patch-ac | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/security/nmapfe/files/patch-ac b/security/nmapfe/files/patch-ac index 599b5a370724..855630c4c89d 100644 --- a/security/nmapfe/files/patch-ac +++ b/security/nmapfe/files/patch-ac @@ -1,6 +1,6 @@ ---- gladesig.c.orig Fri May 7 04:51:52 1999 -+++ gladesig.c Fri Jul 23 11:09:45 1999 -@@ -171,7 +171,7 @@ +--- gladesig.c.orig Mon Aug 30 11:27:21 1999 ++++ gladesig.c Sun Apr 1 22:31:42 2001 +@@ -163,7 +163,7 @@ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, gpointer user_data) { @@ -9,7 +9,7 @@ } -@@ -296,7 +296,8 @@ +@@ -467,7 +467,8 @@ if (size > command_size) command = realloc(command, size); @@ -19,3 +19,12 @@ /*Uhm... yeah.. Spit out which scan to perform based on the which_scan variable */ +@@ -487,7 +488,7 @@ + strncat(command, " -sR ", 5); + + if (GTK_TOGGLE_BUTTON(MW->fast_check)->active) +- strncat(command, " -F ", 3); ++ strncat(command, " -F ", 4); + + if (GTK_TOGGLE_BUTTON(MW->range_check)->active) { + val = gtk_entry_get_text(GTK_ENTRY(MW->range_text)); |