mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-22 20:04:53 +02:00
update for v6/v7 support
This commit is contained in:
parent
4871e9432b
commit
b10b99bd87
120 changed files with 1479 additions and 22 deletions
|
@ -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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue