The same parameter is called "accept-reconf-nonce" in the "ipv4leases" case and
"accept-reconf" in the "ipv6leases". I couldn't find anything in the OpenWrt
trees which depended on either naming, but renaming the IPv4 case seems to be
the safer bet since it is not part of the standard installation.
Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/267
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
blobmsg_add_string_buffer(&b);
blobmsg_add_string(&b, "hostname", (c->hostname) ? c->hostname : "");
- blobmsg_add_u8(&b, "accept-reconf-nonce", c->accept_fr_nonce);
+ blobmsg_add_u8(&b, "accept-reconf", c->accept_fr_nonce);
if (c->reqopts_len > 0) {
buf = blobmsg_alloc_string_buffer(&b, "reqopts", c->reqopts_len * 4 + 1);