summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-09-11 15:01:06 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-09-11 15:31:26 +0200
commitf66103ef4e100b4c3d375553cb916cb924cc40e5 (patch)
tree7ce877afb0919278ae50e23bfcbc819d5b66e193 /src/ubus.c
parentf0e354befd6f787c1ed8ebc1ea514e9195f54433 (diff)
ubus: display accept reconf status for DHCPv6 assignments
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 14d0c42..2ffa4e3 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -128,6 +128,7 @@ static int handle_dhcpv6_leases(_unused struct ubus_context *ctx, _unused struct
blobmsg_add_u32(&b, "iaid", ntohl(a->iaid));
blobmsg_add_string(&b, "hostname", (a->hostname) ? a->hostname : "");
+ blobmsg_add_u8(&b, "accept-reconf", a->accept_reconf);
blobmsg_add_u32(&b, "assigned", a->assigned);
m = blobmsg_open_array(&b, "flags");