ubus: display accept reconf status for DHCPv6 assignments
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 11 Sep 2017 13:01:06 +0000 (15:01 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 11 Sep 2017 13:31:26 +0000 (15:31 +0200)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ubus.c

index 14d0c42..2ffa4e3 100644 (file)
@@ -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");