From 9295d06fe2fce058b6b21d69ea6eac8282d23337 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 20 Sep 2021 13:19:34 +0200 Subject: global-functions.d/inspectvar: add $InspectVar... 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 --- global-config-overlay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-config-overlay') diff --git a/global-config-overlay b/global-config-overlay index 854d4f8..78d34b0 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -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'! # Comment or remove to disable news and change notifications. -:global GlobalConfigVersion 63; +:global GlobalConfigVersion 64; # Copy configuration from global-config here and modify it. -- cgit v1.2.3-70-g09d2