update for v6/v7 support

This commit is contained in:
Wifinigel 2023-01-24 20:28:40 +00:00
parent 4871e9432b
commit b10b99bd87
120 changed files with 1479 additions and 22 deletions

View file

@ -1,9 +0,0 @@
# filename: ch8-05-foreach-kv.rsc
# define an array of interface data
:local InterfaceErrors {"WAN"=514; "LAN"=0; "ether3"=0; "ether4"=0; 5};
# use a foreach loop to print out the error value for each interface
:foreach InterfaceName,ErrorCounter in=$InterfaceErrors do={
:put "$InterfaceName errors: $ErrorCounter";
}