diff options
author | Steven Barth <steven@midlink.org> | 2013-10-30 13:18:24 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-30 13:18:24 +0100 |
commit | 2fe499798dd5c80f0af27cdd53dc52260002c320 (patch) | |
tree | ec1042122c7b10bbd23980cfced39f597fc0c76a | |
parent | 594f4dcd3a37b087fe8c1a4737bbd41a620c24a9 (diff) |
IPv6: Export delegation setting via ubus
This allows foreign prefix delegators to quickly distinguish between
managed and unmanaged prefixes.
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r-- | ubus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -656,6 +656,7 @@ netifd_dump_status(struct interface *iface) if (iface->state == IFS_UP) { blobmsg_add_u32(&b, "metric", iface->metric); + blobmsg_add_u8(&b, "delegation", !iface->proto_ip.no_delegation); a = blobmsg_open_array(&b, "ipv4-address"); interface_ip_dump_address_list(&iface->config_ip, false, true); interface_ip_dump_address_list(&iface->proto_ip, false, true); |