freebsd-ports/security/nmap/files/patch-ac
2000-01-28 10:02:12 +00:00

20 lines
576 B
Text

--- nmapfe/nmapfe_sig.c.orig Thu Jan 27 23:46:47 2000
+++ nmapfe/nmapfe_sig.c Fri Jan 28 01:59:47 2000
@@ -164,7 +164,7 @@
on_Get_Nmap_Version_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
- execute("nmap -V");
+ execute( NMAP_PATH "nmap -V");
}
@@ -468,7 +468,7 @@
if (size > command_size)
command = realloc(command, size);
- strcpy(command, "nmap ");
+ strcpy(command, NMAP_PATH "nmap ");
/*Uhm... yeah.. Spit out which scan to perform based
on the which_scan variable */