mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fix a bug in ospf.lua added in the recent changes. Closes #761
This commit is contained in:
parent
a668a21b7a
commit
8b8f56eced
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue