1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

Merging r4494 from my branch. A couple NmapFE changes. Add --packet-trace and change sensitivity setting for -r (it can be used when non-root)

This commit is contained in:
kris
2007-02-25 02:52:39 +00:00
parent cd806922c0
commit 031e8907eb
4 changed files with 14 additions and 2 deletions

View File

@@ -498,6 +498,10 @@ int command_size = 2560;
GTK_TOGGLE_BUTTON(opt.randomizeHosts)->active)
strcat(command, "--randomize-hosts ");
if (GTK_WIDGET_SENSITIVE(opt.packetTrace) &&
GTK_TOGGLE_BUTTON(opt.packetTrace)->active)
strcat(command, "--packet-trace ");
if (GTK_WIDGET_SENSITIVE(opt.useInputFile) &&
GTK_TOGGLE_BUTTON(opt.useInputFile)->active) {
const char *val = gtk_entry_get_text(GTK_ENTRY(opt.inputFilename));