mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 12:31:12 +00:00
Fix endianness in string pack format
This commit is contained in:
parent
0b9bcba19b
commit
9ba660d330
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue