1
0
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:
patrik
2011-12-28 17:02:10 +00:00
parent 6827d787b4
commit 9b2fcfe0b1

View File

@@ -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