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:
@@ -219,7 +219,8 @@ parse_pndcp = function(pn_data)
|
|||||||
local result = {}
|
local result = {}
|
||||||
while(pos < #pn_data) do
|
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)
|
parser[option](block, result)
|
||||||
|
|
||||||
end -- close while
|
end -- close while
|
||||||
|
|||||||
Reference in New Issue
Block a user