aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daily-psk.capsman2
-rw-r--r--daily-psk.template2
2 files changed, 2 insertions, 2 deletions
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;
diff --git a/daily-psk.template b/daily-psk.template
index dfbac13..692d8e1 100644
--- a/daily-psk.template
+++ b/daily-psk.template
@@ -54,7 +54,7 @@
:local IntName [ / interface wireless access-list get $AccList interface ];
:local Ssid [ / interface wireless get $IntName ssid ];
: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 [ / interface wireless access-list get $AccList private-pre-shared-key ];
:local OldPsk [ / caps-man access-list get $AccList private-passphrase ];
:local Skip 0;