1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Fix a compile error left from r29932 refactoring.

Reported by Jaebum Shin.
http://seclists.org/nmap-dev/2012/q4/47
This commit is contained in:
david
2012-10-07 15:16:18 +00:00
parent 121cc35de6
commit 22dc30d786

View File

@@ -153,7 +153,7 @@ int nmap_raw_socket(const char *warning_device_name) {
int rawsd;
#ifdef WIN32
win32_fatal_raw_sockets(Targets[0]->deviceName());
win32_fatal_raw_sockets(warning_device_name);
#endif
if ((rawsd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0 )
pfatal("socket troubles in %s", __func__);