projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0e354b
)
ubus: display accept reconf status for DHCPv6 assignments
author
Hans Dedecker
<dedeckeh@gmail.com>
Mon, 11 Sep 2017 13:01:06 +0000
(15:01 +0200)
committer
Hans 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
patch
|
blob
|
history
diff --git
a/src/ubus.c
b/src/ubus.c
index
14d0c42
..
2ffa4e3
100644
(file)
--- 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");