mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Removes protocol version from associate() as it is not used in that function
This commit is contained in:
parent
645a9180ed
commit
0066c8eefa
1 changed files with 2 additions and 2 deletions
|
|
@ -244,8 +244,8 @@ function associate(host, port, calling_aet, called_aet)
|
|||
return false, string.format("Couldn't read ASSOCIATE response:%s", err)
|
||||
end
|
||||
|
||||
local resp_type, _, resp_length, resp_version = string.unpack(">B B I4 I2", err)
|
||||
stdnse.debug1("PDU Type:%d Length:%d Protocol:%d", resp_type, resp_length, resp_version)
|
||||
local resp_type, _, resp_length = string.unpack(">B B I4", err)
|
||||
stdnse.debug1("PDU Type:%d Length:%d", resp_type, resp_length)
|
||||
if resp_type == PDU_CODES["ASSOCIATE_ACCEPT"] then
|
||||
stdnse.debug1("ASSOCIATE ACCEPT message found!")
|
||||
return true, dcm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue