diff options
author | Christian Hesse <mail@eworm.de> | 2021-09-20 13:19:34 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-09-21 21:26:13 +0200 |
commit | 9295d06fe2fce058b6b21d69ea6eac8282d23337 (patch) | |
tree | 91d002607eb86341a7da6f8cd8021fd099c976fc /global-config | |
parent | ce78d7d9e9ad1c2ab0e5ffab716b40975c6bd0eb (diff) |
global-functions.d/inspectvar: add $InspectVar...change-64
to inspect variables. This is useful for variables with (nested) arrays,
for example inspecting $NetwatchNotify (from netwatch-notify):
[admin@Mikrotik] > $InspectVar $NetwatchNotify
-type-> array
-key-> quad-one
-type-> array
-key-> count
-type-> num
-value-> 0
-key-> notified
-type-> bool
-value-> false
-key-> parent
-type-> nothing
-key-> resolve-failed
-type-> nothing
-key-> since
-type-> nothing
-key-> example.com
-type-> array
-key-> count
-type-> num
-value-> 0
-key-> notified
-type-> bool
-value-> false
-key-> parent
-type-> str
-value-> quad-one
-key-> resolve-failed
-type-> nothing
-key-> since
-type-> nothing
Diffstat (limited to 'global-config')
-rw-r--r-- | global-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-config b/global-config index cc0e389..bf3b0e4 100644 --- a/global-config +++ b/global-config @@ -8,7 +8,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 63; +:global GlobalConfigVersion 64; # This is used for DNS and backup file. :global Domain "example.com"; |