1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Cleaned up code and removed interface from functions dhcp_send and

make_request as it was not used. Added WPAD action. [Patrik]
This commit is contained in:
patrik
2011-12-28 21:17:31 +00:00
parent 9b2fcfe0b1
commit a4e6a82b00
2 changed files with 7 additions and 8 deletions

View File

@@ -125,7 +125,7 @@ local function go(host, port)
return false, "Couldn't determine local ip for interface: " .. host.interface
end
local status, result = dhcp.make_request(host.ip, host.interface, request_type, iface.address, mac_addr)
local status, result = dhcp.make_request(host.ip, request_type, iface.address, mac_addr)
if( not(status) ) then
stdnse.print_debug(1, "dhcp-discover: Couldn't send DHCP request: %s", result)
return false, result