Strange problem.
I have dhcp-client:
[admin@MikroTik] > /ip dhcp-client print
Flags: X - disabled, I - invalid, D - dynamic
# INTERFACE USE-PEER-DNS ADD-DEFAULT-ROUTE STATUS ADDRESS
0 bridge-inet yes yes bound XXX.XXX.XXX.XXX/BB
But can't get any values by console:
[admin@MikroTik] > /ip dhcp-client get 0 address
[admin@MikroTik] > /ip dhcp-client get 0 default-route-distance
NO values listed...
If I try to use scripting everything ok:
[admin@MikroTik] > :foreach i in=[/ip dhcp-client find] do={ :put [/ip dhcp-client get $i default-route-distance];}
1