1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 13:09:02 +00:00

Small typo in Packet:build_ip_packet documentation.

This commit is contained in:
kroosec
2012-06-01 10:46:27 +00:00
parent e4881caa0c
commit e47d988e44

View File

@@ -392,7 +392,7 @@ function Packet:set_icmpv6_option(opt_type,msg)
return string.char(opt_type, (#msg+2)/8) .. msg return string.char(opt_type, (#msg+2)/8) .. msg
end end
--- Build an IPv6 packet. --- Build an IPv4 packet.
-- @param src 4-byte string of the source IP address. -- @param src 4-byte string of the source IP address.
-- @param dst 4-byte string of the destination IP address. -- @param dst 4-byte string of the destination IP address.
-- @param payload string containing the IP payload -- @param payload string containing the IP payload