Important
|
Deprecated in 3.4. Please use getInterface(), getInterfaceByIndex(), getInterfaceByMACAddress() or getInterfaceByName() methods of Node class to get interface object and name attribute to get it’s name. |
GetInterfaceName(node, interfaceIndex) => String
Get interface name by index
node |
node object |
|
interfaceIndex |
Integer |
interface index |
Return
Interface name as a string
Example
println(GetInterfaceName($node, 1)); //Will print "lo"