ubus: display accept reconf status for DHCPv6 assignments
[project/odhcpd.git] / src / ubus.c
index 14d0c42504823f014f781f3e27e0f0c92c9ca949..2ffa4e319075d2b87ca17eddfbe7f90d60a39433 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");