mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix more non-explicit endianness things
This commit is contained in:
@@ -57,7 +57,7 @@ local get_prefix = function(data)
|
||||
if string.len(data) <= 31 then
|
||||
return bin.pack("C",0xa0 + string.len(data))
|
||||
else
|
||||
return "\xda" .. bin.pack("s",string.len(data))
|
||||
return "\xda" .. bin.pack(">s",string.len(data))
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user