mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fix require
This commit is contained in:
parent
a883d3504a
commit
6a208c2ea9
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ end
|
|||
-- ###############################################################
|
||||
|
||||
-- Detect which DHCP server is available on the system and return
|
||||
-- the appropriate DHCP server module (kea_dhcp_server or dhcp_server_utils)
|
||||
-- the appropriate DHCP server module (kea_dhcp_server or isc_dhcp_server)
|
||||
function dhcp_server_utils.getDhcpServerHandler()
|
||||
if cached_module then
|
||||
return cached_module
|
||||
|
|
@ -45,7 +45,7 @@ function dhcp_server_utils.getDhcpServerHandler()
|
|||
cached_module = require "conf_handlers.kea_dhcp_server"
|
||||
else
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, "Using ISC DHCP server")
|
||||
cached_module = require "conf_handlers.dhcp_server_utils"
|
||||
cached_module = require "conf_handlers.isc_dhcp_server"
|
||||
end
|
||||
|
||||
return cached_module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue