From e2e5a10e7ee8ad818eb06cf66b73c30770000def Mon Sep 17 00:00:00 2001 From: Jason Hines Date: Wed, 8 Nov 2023 17:30:46 -0500 Subject: [PATCH] Update config.json Changed sql query to sort by dev_MAC. Should resolve https://github.com/jokob-sk/Pi.Alert/issues/496 --- front/plugins/nmap_scan/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/plugins/nmap_scan/config.json b/front/plugins/nmap_scan/config.json index 73ab5592..3444d6a8 100755 --- a/front/plugins/nmap_scan/config.json +++ b/front/plugins/nmap_scan/config.json @@ -43,13 +43,13 @@ { "name" : "ips", "type" : "sql", - "value" : "SELECT dev_LastIP from DEVICES", + "value" : "SELECT dev_LastIP from DEVICES order by dev_MAC", "timeoutMultiplier" : true }, { "name" : "macs", "type" : "sql", - "value" : "SELECT dev_MAC from DEVICES" + "value" : "SELECT dev_MAC from DEVICES order by dev_MAC" }, { "name" : "timeout",