mirror of
https://github.com/nmap/nmap.git
synced 2025-12-12 10:49:02 +00:00
Fix endianness in string pack format
This commit is contained in:
@@ -1570,7 +1570,7 @@ NFS = {
|
|||||||
|
|
||||||
if ( comm.version == 3 ) then
|
if ( comm.version == 3 ) then
|
||||||
local opaque_data = 0
|
local opaque_data = 0
|
||||||
data = file_handle .. string.pack("I8 I8 I4", cookie, opaque_data, count)
|
data = file_handle .. string.pack(">I8 I8 I4", cookie, opaque_data, count)
|
||||||
else
|
else
|
||||||
data = file_handle .. string.pack(">I4 I4", cookie, count)
|
data = file_handle .. string.pack(">I4 I4", cookie, count)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user