1
0
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:
dmiller
2017-02-14 05:46:40 +00:00
parent f20589ca09
commit cc0661fb34
4 changed files with 5 additions and 5 deletions

View File

@@ -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