Skip to content

Continue iteration on ubus failure

Niall McGee requested to merge bt/bbf:dns-continue-after-ubus-failure into devel

Device.DNS.Client.Server data model is populated by calling the network.interface->status ubus method for each interface in /etc/config/network.

If the ubus call fails for one interface the rest of the interfaces are currently skipped by breaking out of the loop.

This fix makes the loop continue to try the remaining interfaces if a ubus call fails.

Merge request reports