mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
Fix a bug in ospf.lua added in the recent changes. Closes #761
This commit is contained in:
@@ -448,6 +448,7 @@ OSPF = {
|
||||
for _, req in ipairs(self.ls_requests) do
|
||||
data[#data+1] = string.pack(">I4 I4 I4", req.type, ipOps.todword(req.id), ipOps.todword(req.adv_router))
|
||||
end
|
||||
data = table.concat(data)
|
||||
self.header:setLength(#data)
|
||||
return tostring(self.header) .. data .. (self.header.auth_data.hash or "")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user