1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

Correct the documentation for dhcp.dhcp_parse(), as it is explicitly

wired to process only DHCP replies. Any other DHCP packet types are rejected.
This commit is contained in:
nnposter
2024-08-22 03:01:54 +00:00
parent 95807a0aa7
commit 6adb9d3609

View File

@@ -453,8 +453,7 @@ function dhcp_build(request_type, ip_address, mac_address, options, request_opti
return true, strbuf.dump(packet)
end
---Parse a DHCP packet (either a request or a response) and return the results
-- as a table.
---Parse a DHCP response and return the results as a table.
--
-- The table at the top of this function (<code>actions</code>) defines the
-- name of each field, as laid out in rfc2132, and the function that parses it.