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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user