mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
daily-psk: explicitly cast to num
This commit is contained in:
@@ -39,7 +39,7 @@ $WaitFullyConnected;
|
||||
|
||||
:local Month ($Months->[ :pick $Date 0 3 ]);
|
||||
:local Day [ :tonum [ :pick $Date 4 6 ] ];
|
||||
:local Year [ :pick $Date 7 11 ];
|
||||
:local Year [ :tonum [ :pick $Date 7 11 ] ];
|
||||
|
||||
:local A ((14 - $Month) / 12);
|
||||
:local B ($Year - $A);
|
||||
|
||||
Reference in New Issue
Block a user