mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 07:09:01 +00:00
Fixed undeclared local variable in broadcast-dhcp-discover [Patrik]
This commit is contained in:
@@ -47,7 +47,7 @@ require 'packet'
|
||||
--
|
||||
-- @return mac_addr string containing a random MAC
|
||||
local function randomizeMAC()
|
||||
mac_addr = ""
|
||||
local mac_addr = ""
|
||||
for j=1, 6 do
|
||||
mac_addr = mac_addr .. string.char(math.random(1, 255))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user