1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/security/nmap/files/patch-ac
2000-01-28 10:02:12 +00:00

21 lines
576 B
Plaintext

--- 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 */