From 8b8f56eced008fcaa10050d032c6dc6f07cfdd32 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 20 Mar 2017 17:26:25 +0000 Subject: [PATCH] Fix a bug in ospf.lua added in the recent changes. Closes #761 --- nselib/ospf.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nselib/ospf.lua b/nselib/ospf.lua index bd0c51b9e..ceafb1a7a 100644 --- a/nselib/ospf.lua +++ b/nselib/ospf.lua @@ -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