OCT 1. 更正DHCP HTTP 接口路径

This commit is contained in:
huangxin 2022-12-07 15:59:45 +08:00
parent fe0b357300
commit f9fa369457
1 changed files with 3 additions and 3 deletions

View File

@ -684,9 +684,9 @@ void opendhcp_init_http_server() {
if (!added) { if (!added) {
hw_http_add_route("/", opendhcp_http_info, nullptr); hw_http_add_route("/", opendhcp_http_info, nullptr);
hw_http_add_route("dchp/info/getuser", opendhcp_http_get_userinfo, nullptr); hw_http_add_route("dhcp/info/getuser", opendhcp_http_get_userinfo, nullptr);
hw_http_add_route("dchp/info/allusers", opendhcp_http_get_alluser, nullptr); hw_http_add_route("dhcp/info/allusers", opendhcp_http_get_alluser, nullptr);
hw_http_add_route("dchp/config/rangeset", opendhcp_http_expand_rangeset, nullptr); hw_http_add_route("dhcp/config/rangeset", opendhcp_http_expand_rangeset, nullptr);
added = TRUE; added = TRUE;
} }
} }