From 22dc30d786b2dca406ed22e9cc93fe0dc7720f3d Mon Sep 17 00:00:00 2001 From: david Date: Sun, 7 Oct 2012 15:16:18 +0000 Subject: [PATCH] Fix a compile error left from r29932 refactoring. Reported by Jaebum Shin. http://seclists.org/nmap-dev/2012/q4/47 --- tcpip.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpip.cc b/tcpip.cc index 12c49c61b..c91720764 100644 --- a/tcpip.cc +++ b/tcpip.cc @@ -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__);