+ control: /clients: get the list of clients' IP addresses and names from /etc/hosts

This commit is contained in:
Simon Zolin
2019-03-19 18:47:22 +03:00
parent b6d0d94990
commit ed942f3e31
3 changed files with 129 additions and 0 deletions

View File

@@ -1063,6 +1063,7 @@ func registerControlHandlers() {
http.HandleFunc("/control/dhcp/find_active_dhcp", postInstall(optionalAuth(ensurePOST(handleDHCPFindActiveServer))))
RegisterTLSHandlers()
RegisterClientsHandlers()
http.HandleFunc("/dns-query", postInstall(handleDOH))
}