From fd2901cd45aac85e856b9892e1c8e67a644cd09d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 May 2019 14:26:32 +0200 Subject: daily-psk.capsman: pick only first configuration --- daily-psk.capsman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daily-psk.capsman') diff --git a/daily-psk.capsman b/daily-psk.capsman index 8d562e6..3c2c454 100644 --- a/daily-psk.capsman +++ b/daily-psk.capsman @@ -51,7 +51,7 @@ :foreach AccList in=[ / caps-man access-list find where comment~$DailyPskMatchComment ] do={ :local Ssid [ / caps-man access-list get $AccList ssid-regexp ]; - :local Configuration [ / caps-man configuration get [ find where ssid=$Ssid ] name ]; + :local Configuration [ / caps-man configuration get ([ find where ssid=$Ssid ]->0) name ]; :local OldPsk [ / caps-man access-list get $AccList private-passphrase ]; :local Skip 0; -- cgit v1.2.3-70-g09d2