Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
The message is queued, not lost...
|
|
|
|
|
|
|
|
|
|
neighbor list
|
|
... with comma-separated list.
|
|
|
|
|
|
This helps against notification flooding.
|
|
|
|
|
|
... but give configuration to opt-out.
|
|
|
|
|
|
|
|
The uptime is returned in time, with supports arithmetic modulo
operation. This is three minutes in nano seconds, so multiplied
180 with 10^9.
|
|
|
|
|
|
|
|
|
|
Telegram messages have a maximum length of 4096 characters. Truncate if
too long, keep some spare characters for status messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This matches the string included in export.
|
|
|
|
|
|
|
|
This introduces function $FlushTelegramQueue, which flushes queue of
Telegram notifications. Notifications are appended to the queue if
sending failed.
|
|
|
|
Using 'print count-only' always prints a number to terminal, even if the
value is evaluated in a condition or assigned to a variable. This can be
quite annoying. Behavior will not chance (SUP-25503), so replacing the
code...
|
|
Situation will not improve... But chances are that RTC is available with
correct time, for example from host inside CHR vm. So return gracefully.
|
|
|
|
|
|
|
|
|
|
Do do generate certificate, but use scep-server otp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Just set 'base-url=https://example.com/...' and/or 'url-suffix=\h=branch'
in comment to overwrite settings from global configuration.
|
|
Just add 'ignore' in comment...
|
|
|
|
|
|
The scripts work without initialization, removing this makes sure the
value is not overwritten on global functions reload.
|
|
|
|
|
|
[admin@MikroTik] > $IPCalc 192.168.88.188/20
Address: 192.168.88.188
Netmask: 255.255.240.0
Network: 192.168.80.0/20
HostMin: 192.168.80.1
HostMax: 192.168.95.254
Broadcast: 192.168.95.255
|
|
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resolving ntp servers fais if internet connectivity is not established.
So this is not fatal, we want to catch error and fall through, then
continue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|