projects
/
oweals
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4c4bf
)
Also read addresses from "ipv6-prefix-assignment" ifstatus table
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 19 Mar 2013 12:21:41 +0000
(13:21 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 19 Mar 2013 12:40:48 +0000
(13:40 +0100)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 0647bc35afa771919dc88f4616eb6698d739ffc0..16c8c49c66713a857bc19ea665c8eddca4a6f1ad 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-113,7
+113,8
@@
invoke_cb(struct ubus_request *req, int type, struct blob_attr *msg)
else if (!dev && !strcmp(blobmsg_name(cur), "ipv4-address"))
parse_subnets(da->addr, FW3_FAMILY_V4,
blobmsg_data(cur), blobmsg_data_len(cur));
- else if (!dev && !strcmp(blobmsg_name(cur), "ipv6-address"))
+ else if (!dev && (!strcmp(blobmsg_name(cur), "ipv6-address") ||
+ !strcmp(blobmsg_name(cur), "ipv6-prefix-assignment")))
parse_subnets(da->addr, FW3_FAMILY_V6,
blobmsg_data(cur), blobmsg_data_len(cur));
}