mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 22:49:01 +00:00
Renamed Packet:ip6_set_len into Packet:ip6_set_plen for consistency.
This commit is contained in:
@@ -733,7 +733,7 @@ function Packet:ipv6_ext_header_parse(force_continue)
|
|||||||
end
|
end
|
||||||
--- Set the payload length field.
|
--- Set the payload length field.
|
||||||
-- @param plen Payload length.
|
-- @param plen Payload length.
|
||||||
function Packet:ip6_set_len(plen)
|
function Packet:ip6_set_plen(plen)
|
||||||
self:set_u16(self.ip6_offset + 4, plen)
|
self:set_u16(self.ip6_offset + 4, plen)
|
||||||
self.ip6_plen = plen
|
self.ip6_plen = plen
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user