X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=ubus.c;h=4d43b5756f337821245b14def18f3f4a305c46f9;hb=96c53518ffdd470768a224fbdb697294639a8370;hp=2b8bb9007dcd38a4873e49d308c7874bd9473d5b;hpb=f56a7fbaa6f155c654e7d01b5c4c0594f21239d6;p=project%2Fnetifd.git diff --git a/ubus.c b/ubus.c index 2b8bb90..4d43b57 100644 --- a/ubus.c +++ b/ubus.c @@ -687,6 +687,7 @@ netifd_dump_status(struct interface *iface) if (iface->ip6table) blobmsg_add_u32(&b, "ip6table", iface->ip6table); blobmsg_add_u32(&b, "metric", iface->metric); + blobmsg_add_u32(&b, "dns_metric", iface->dns_metric); blobmsg_add_u8(&b, "delegation", !iface->proto_ip.no_delegation); a = blobmsg_open_array(&b, "ipv4-address"); interface_ip_dump_address_list(&iface->config_ip, false, true);