From 31803a37f966a8bb85e0ad762086b4bfe4bdf359 Mon Sep 17 00:00:00 2001 From: patrik Date: Tue, 13 Dec 2011 21:26:19 +0000 Subject: [PATCH] o [NSE] Minor change to vuzedht library to fix a bug that failed nsedoc from building properly. [Patrik] --- nselib/vuzedht.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nselib/vuzedht.lua b/nselib/vuzedht.lua index 24e8c93c1..e023c9c24 100644 --- a/nselib/vuzedht.lua +++ b/nselib/vuzedht.lua @@ -43,7 +43,9 @@ Request = { new = function(self, action, session) local o = { conn_id = string.char(255) .. openssl.rand_pseudo_bytes(7), - action = action, + -- we need to handle this one like this, due to a bug in nsedoc + -- it used to be action = action, but that breaks parsing + ["action"] = action, trans_id = session:getTransactionId(), proto_version = 0x32, vendor_id = 0,