Hello,
I am trying to do a check on DHCP-CLIENT like so:
:if ([/ip dhcp-client get [find interface=ether3] gateway != [:nothing]) do={:put "hi";} else={:put "bye"};
However, when ether 3 has a gateway and when ether3 does not have a gateway the result is the same. Instead of [:nothing], I also tried " " and that didn't work either..
I'm trying to determine if ether3 has a gateway or not and do something based on the result...
Thanks!