From f66103ef4e100b4c3d375553cb916cb924cc40e5 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 11 Sep 2017 15:01:06 +0200 Subject: [PATCH] ubus: display accept reconf status for DHCPv6 assignments Signed-off-by: Hans Dedecker --- src/ubus.c | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.25.1