mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix a bug in broadcast-ping: concat instead of comma
This commit is contained in:
@@ -110,7 +110,7 @@ local icmp_packet = function(srcIP, dstIP, ttl, data_length, mtu, seqNo, icmp_id
|
||||
|
||||
|
||||
--IP header
|
||||
local ip_bin = "\x45\x00", -- IPv4, no options, no DSCN, no ECN
|
||||
local ip_bin = "\x45\x00" .. -- IPv4, no options, no DSCN, no ECN
|
||||
string.pack(">I2I2",
|
||||
20 + #icmp_msg, -- total length
|
||||
0) -- IP ID
|
||||
|
||||
Reference in New Issue
Block a user