1
0
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:
dmiller
2017-03-20 17:26:25 +00:00
parent a668a21b7a
commit 8b8f56eced

View File

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