diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-07-16 14:31:47 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-07-16 15:07:52 +0200 |
commit | 291ccbb8de51ced6d80a7417abf9d85fd8e16fbb (patch) | |
tree | c4eff49d4246eb558904d2e0cc278474d66e9464 | |
parent | 908a9f4f1027fdc813dc3a0c0f6231194bc5be3f (diff) |
ubus: display correct prefix size for IPv6 prefix address
Make sure the displayed prefix size is identical to the kernel installed
prefix size for local IPv6 prefix addresses
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -624,7 +624,7 @@ interface_ip_dump_prefix_assignment_list(struct interface *iface) inet_ntop(AF_INET6, &assign->addr, buf, buflen); blobmsg_add_string_buffer(&b); - blobmsg_add_u32(&b, "mask", assign->length < 64 ? 64 : assign->length); + blobmsg_add_u32(&b, "mask", assign->length); } blobmsg_close_table(&b, c); |