mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Fix endianness in string pack format
This commit is contained in:
@@ -1570,7 +1570,7 @@ NFS = {
|
||||
|
||||
if ( comm.version == 3 ) then
|
||||
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
|
||||
data = file_handle .. string.pack(">I4 I4", cookie, count)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user