diff options
author | mharo <mharo@FreeBSD.org> | 2001-04-02 13:33:40 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2001-04-02 13:33:40 +0800 |
commit | 0ff8012ea39b5c6f2d032612a982732d0e4ff80e (patch) | |
tree | 1760fa0af86b0f2a08499c6bf53328a07a8a0990 /security/nmapfe | |
parent | 5bc46345dea6df8b774f6cbb77fb39d568458e18 (diff) | |
download | freebsd-ports-gnome-0ff8012ea39b5c6f2d032612a982732d0e4ff80e.tar.gz freebsd-ports-gnome-0ff8012ea39b5c6f2d032612a982732d0e4ff80e.tar.zst freebsd-ports-gnome-0ff8012ea39b5c6f2d032612a982732d0e4ff80e.zip |
Correct incorrect format of command if "Fast scan" option is enabled
PR: 26158
Submitted by: Victor Bondarenko <victor@indite.org>
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)); |