mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-24 12:55:01 +02:00
final edit fixes
This commit is contained in:
parent
b10b99bd87
commit
f3beb2ed9b
41 changed files with 164 additions and 150 deletions
|
@ -28,7 +28,8 @@
|
|||
}
|
||||
|
||||
# data type checks passed, print the interface data
|
||||
:put "$InterfaceName: IP address = $InterfaceIp, speed = $InterfaceSpeed";
|
||||
:put "$InterfaceName: IP address = $InterfaceIp, speed = \
|
||||
$InterfaceSpeed";
|
||||
}
|
||||
# --- end of function ---
|
||||
|
||||
|
@ -37,7 +38,8 @@
|
|||
$PrintInterfaceAttrsFunc $Args;
|
||||
|
||||
# Let's call the function with some other values in an array
|
||||
:set Args { ifname="ether2-LAN"; ifspeed="1000Mbps"; ifip="172.16.1.254/24" };
|
||||
:set Args { ifname="ether2-LAN"; ifspeed="1000Mbps";
|
||||
ifip="172.16.1.254/24" };
|
||||
$PrintInterfaceAttrsFunc $Args;
|
||||
|
||||
# Cleanup global namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue