Home page logo
/

nmap-dev logo Nmap Development mailing list archives

[Patch] win32_fatal_raw_sockets() fix
From: "Gisle Vanem" <gvanem () yahoo no>
Date: Wed, 12 Feb 2014 17:49:31 +0100

The last fatal() in win32_fatal_raw_sockets() (in output.cc) doesn't have an \"%s\" format. Hence drop the 'devname' parameter to last fatal() in this function. Noted when building with MingW. Doesn't anybody else?

Patch:

--- SVN-Latest/output.cc   2014-01-15 15:07:08 +0000
+++ output.cc     2014-01-15 15:24:17 +0000
@@ -288,7 +288,7 @@
          "for this scan.", devname);
  } else {
    fatal("Only ethernet devices can be used for raw scans on Windows. Use\n"
-          "the --unprivileged option for this scan.", devname);
+          "the --unprivileged option for this scan.");
  }
}


--gv
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]