diff options
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/global-functions b/global-functions index 677cfc7..da718f3 100644 --- a/global-functions +++ b/global-functions @@ -658,9 +658,10 @@ # delay a random amount of seconds :set RandomDelay do={ + :global EitherOr; :global GetRandomNumber; - :delay ([ $GetRandomNumber $1 ] . "s"); + :delay ([ $GetRandomNumber $1 ] . [ $EitherOr $2 "s" ]); } # check for required RouterOS version |