From: Steven Barth Date: Thu, 19 Nov 2015 13:09:53 +0000 (+0100) Subject: ubus: export dynamic-flag for interfaces X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=48c0fbee548206058c399a73a80178cdcfec3fc7;p=project%2Fnetifd.git ubus: export dynamic-flag for interfaces Signed-off-by: Steven Barth --- diff --git a/ubus.c b/ubus.c index c834d11..90ee795 100644 --- a/ubus.c +++ b/ubus.c @@ -649,6 +649,7 @@ netifd_dump_status(struct interface *iface) blobmsg_add_u8(&b, "pending", iface->state == IFS_SETUP); blobmsg_add_u8(&b, "available", iface->available); blobmsg_add_u8(&b, "autostart", iface->autostart); + blobmsg_add_u8(&b, "dynamic", iface->dynamic); if (iface->state == IFS_UP) { time_t cur = system_get_rtime();