ubus: export dynamic-flag for interfaces
authorSteven Barth <steven@midlink.org>
Thu, 19 Nov 2015 13:09:53 +0000 (14:09 +0100)
committerSteven Barth <steven@midlink.org>
Thu, 19 Nov 2015 13:09:53 +0000 (14:09 +0100)
Signed-off-by: Steven Barth <steven@midlink.org>
ubus.c

diff --git a/ubus.c b/ubus.c
index c834d11bba38db4e4ba610db56d6b882f38a4efd..90ee79592cbc048ebd484fea25121f2f53b84291 100644 (file)
--- 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();