From: Hans Dedecker Date: Mon, 11 Sep 2017 13:01:06 +0000 (+0200) Subject: ubus: display accept reconf status for DHCPv6 assignments X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f66103ef4e100b4c3d375553cb916cb924cc40e5;p=project%2Fodhcpd.git ubus: display accept reconf status for DHCPv6 assignments Signed-off-by: Hans Dedecker --- 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");