diff options
author | Steven Barth <steven@midlink.org> | 2015-11-19 14:09:53 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-11-19 14:09:53 +0100 |
commit | 48c0fbee548206058c399a73a80178cdcfec3fc7 (patch) | |
tree | 2f21c85a25febb800334d7dbc229cc896b986113 /ubus.c | |
parent | 0eb6aa7562ae8db51c09b2c370a65f01b0ac1cff (diff) |
ubus: export dynamic-flag for interfaces
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(); |