From 8f88a575f495a4b8b67d48c31a9caace30edba99 Mon Sep 17 00:00:00 2001 From: nnposter Date: Wed, 12 Jun 2024 23:42:55 +0000 Subject: [PATCH] Fix spelling of "endianness". Closes #2850 --- scripts/db2-das-info.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/db2-das-info.nse b/scripts/db2-das-info.nse index 22b305f25..554532abe 100644 --- a/scripts/db2-das-info.nse +++ b/scripts/db2-das-info.nse @@ -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("