From 2b10a9e55a417fbd0eb8e248ef8edceab1d794bb Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sun, 2 Dec 2018 02:18:30 +0100 Subject: front: Adjust new dhcp-magic to be less agressive --- web/js/nms-map-handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/nms-map-handlers.js b/web/js/nms-map-handlers.js index 9f0c548..6632e9f 100644 --- a/web/js/nms-map-handlers.js +++ b/web/js/nms-map-handlers.js @@ -598,7 +598,7 @@ function dhcpInfo(sw) { if (testTree(nmsData,['switchstate','switches',sw,'clients','live'])) { var tu = parseInt(nmsData.switchstate.switches[sw].clients.live); var tt = parseInt(nmsData.switchstate.switches[sw].clients.total); - if (tu - dhcpClients > 5) { + if (tu - dhcpClients > 12) { if (ret.score < 450) { ret.score = 450; ret.why = "Far more client ports than dhcp clients"; -- cgit v1.2.3