1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix a typo: did not update loop variable.

This commit is contained in:
dmiller
2025-06-09 19:58:45 +00:00
parent 3496617f8f
commit aae135fa91

View File

@@ -219,7 +219,8 @@ parse_pndcp = function(pn_data)
local result = {}
while(pos < #pn_data) do
local option, block, p = string.unpack("!2 c2 >s2", pn_data, pos)
local option, block
option, block, pos = string.unpack("!2 c2 >s2", pn_data, pos)
parser[option](block, result)
end -- close while