mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
fixed bad global
This commit is contained in:
parent
65f689deec
commit
e86d713be2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue