Running the following piece of code:
Code: Select all
:put [/ip address get [/ip address find interface="ether2"] address]
Output on ROS 5.22 (for example) gives the desired result, i.e. the address or an error "no such item" if there is NO address on ether2.
Running the same code snippet on ROS 6.7 does give the correct address if it is assigned to ether2. BUT if there's no address on ether2, it will silently return the address of another interface, like ether1.
Can anyone confirm this? (Tested on an RB/951-2n)