From 3e73b033a29a30b9eaa2ca8973dc42e6e55ba45b Mon Sep 17 00:00:00 2001 From: batrick Date: Sun, 4 Mar 2012 10:37:37 +0000 Subject: [PATCH] Fixed wrong variable name. --- nselib/rpcap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/rpcap.lua b/nselib/rpcap.lua index 5a7dde96c..98bd82d80 100644 --- a/nselib/rpcap.lua +++ b/nselib/rpcap.lua @@ -315,7 +315,7 @@ Comm = { recv = function(self) local status, hdr_data = self.socket:receive_buf(match.numbytes(RPCAP.Header.size), true) if ( not(status) ) then - return status, data + return status, hdr_data end local header = RPCAP.Header.parse(hdr_data)