diff options
author | Steven Barth <steven@midlink.org> | 2013-11-27 14:52:31 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-11-27 14:52:31 +0100 |
commit | 5e43781680f9f55e0ae7c1b681465d64882e3b8c (patch) | |
tree | 334324e04d2b4f308690aebdfc68dcae7f3be531 /ubus.c | |
parent | 199723ed921160c029a0d15fa95914ddfcdc5cb9 (diff) |
IPv6: add class support to regular IPv6 addresses
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -441,6 +441,9 @@ interface_ip_dump_address_list(struct interface_ip_settings *ip, bool v6, if (addr->valid_until) blobmsg_add_u32(&b, "valid", addr->valid_until - now); + if (addr->pclass) + blobmsg_add_string(&b, "class", addr->pclass); + blobmsg_close_table(&b, a); } } |