summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-11-19 14:09:53 +0100
committerSteven Barth <steven@midlink.org>2015-11-19 14:09:53 +0100
commit48c0fbee548206058c399a73a80178cdcfec3fc7 (patch)
tree2f21c85a25febb800334d7dbc229cc896b986113
parent0eb6aa7562ae8db51c09b2c370a65f01b0ac1cff (diff)
ubus: export dynamic-flag for interfaces
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r--ubus.c1
1 files changed, 1 insertions, 0 deletions
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();