mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 04:25:15 +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:
parent
95807a0aa7
commit
6adb9d3609
1 changed files with 1 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue