From 87cbe7597eff2910541084323fa59fb601874e0e Mon Sep 17 00:00:00 2001 From: Mark Jacobi Date: Tue, 6 Dec 2016 16:05:59 +0100 Subject: [PATCH] Made clientFromIP look in the staticDHCP bank, if the device is offline --- release/src/router/www/client_function.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/release/src/router/www/client_function.js b/release/src/router/www/client_function.js index 431ed710517..19368a4c6c4 100644 --- a/release/src/router/www/client_function.js +++ b/release/src/router/www/client_function.js @@ -3263,7 +3263,18 @@ function oui_query_web(mac){ function clientFromIP(ip) { for(var i=0; i"); + if(data[1] == ip){ + return clientList[data[0]]; + } + } } return 0; }