mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fixed undeclared local variable in broadcast-dhcp-discover [Patrik]
This commit is contained in:
parent
6827d787b4
commit
9b2fcfe0b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue