mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
fixed bad global
This commit is contained in:
@@ -152,7 +152,7 @@ eap_str = {
|
||||
}
|
||||
|
||||
local make_eapol = function (arg)
|
||||
if not arg.type then arg.type = eapol_types.PACKET end
|
||||
if not arg.type then arg.type = eapol_t.PACKET end
|
||||
if not arg.version then arg.version = 1 end
|
||||
if not arg.payload then arg.payload = "" end
|
||||
if not arg.src then return nil end
|
||||
@@ -285,4 +285,4 @@ send_start = function (iface)
|
||||
dnet:ethernet_send(start)
|
||||
dnet:ethernet_close()
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user