Api/dhcp.renew()

From Minux Wiki
Revision as of 22:57, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is part of dhcp and is used to obtain or refresh DHCP server data. normally run on startup, can be used to re-run mostly for testing purpuses. '''useage:''' dhcp.renew() '''output:''' updates _G.server to either the responding dhcp server's ID or "[none]"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this api is part of dhcp and is used to obtain or refresh DHCP server data.

normally run on startup, can be used to re-run mostly for testing purpuses.


useage:

dhcp.renew()


output:

updates _G.server to either the responding dhcp server's ID or "[none]"