mirror of
https://github.com/nmap/nmap.git
synced 2025-12-12 10:49:02 +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:
2
tcpip.cc
2
tcpip.cc
@@ -153,7 +153,7 @@ int nmap_raw_socket(const char *warning_device_name) {
|
|||||||
int rawsd;
|
int rawsd;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
win32_fatal_raw_sockets(Targets[0]->deviceName());
|
win32_fatal_raw_sockets(warning_device_name);
|
||||||
#endif
|
#endif
|
||||||
if ((rawsd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0 )
|
if ((rawsd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0 )
|
||||||
pfatal("socket troubles in %s", __func__);
|
pfatal("socket troubles in %s", __func__);
|
||||||
|
|||||||
Reference in New Issue
Block a user