diff options
author | Christian Hesse <mail@eworm.de> | 2019-05-24 14:26:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-05-24 14:26:32 +0200 |
commit | fd2901cd45aac85e856b9892e1c8e67a644cd09d (patch) | |
tree | c985b98c2c7edeaaf91aa63edb2ab244e5e84eaa /daily-psk.template | |
parent | a2e63629672b29903a37225323399071d043829a (diff) |
daily-psk.capsman: pick only first configuration
Diffstat (limited to 'daily-psk.template')
-rw-r--r-- | daily-psk.template | 2 |
1 files changed, 1 insertions, 1 deletions
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; |