mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix spelling of "endianness". Closes #2850
This commit is contained in:
parent
74b2b6fc05
commit
8f88a575f4
1 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ function read_db2_packet(socket)
|
|||
local buf
|
||||
|
||||
local DATA_LENGTH_OFFSET = 38
|
||||
local ENDIANESS_OFFSET = 23
|
||||
local ENDIANNESS_OFFSET = 23
|
||||
|
||||
local catch = function()
|
||||
stdnse.debug1("ERROR communicating with DB2 server")
|
||||
|
|
@ -186,7 +186,7 @@ function read_db2_packet(socket)
|
|||
|
||||
stdnse.debug1("Got DB2DAS packet")
|
||||
|
||||
local endian = string.unpack( "c2", packet.header.raw, ENDIANESS_OFFSET )
|
||||
local endian = string.unpack( "c2", packet.header.raw, ENDIANNESS_OFFSET )
|
||||
|
||||
if endian == "9z" then
|
||||
packet.header.data_len = string.unpack("<I4", packet.header.raw, DATA_LENGTH_OFFSET )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue