mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix a typo: did not update loop variable.
This commit is contained in:
parent
3496617f8f
commit
aae135fa91
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue