mirror of
https://github.com/nmap/nmap.git
synced 2026-01-01 04:19:02 +00:00
Remove some more bin.lua packings, and fix one mistake in broadcast-ping.nse
This commit is contained in:
@@ -115,7 +115,7 @@ local icmp_packet = function(srcIP, dstIP, ttl, data_length, mtu, seqNo, icmp_id
|
||||
20 + #icmp_msg, -- total length
|
||||
0) -- IP ID
|
||||
.. "\x40\x00" -- DF
|
||||
.. string.pack("CC",
|
||||
.. string.pack("BB",
|
||||
ttl,
|
||||
1 -- ICMP
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user