Api/dhcp.renew()

From Minux Wiki
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]"