From: Jo-Philipp Wich Date: Tue, 19 Mar 2013 12:21:41 +0000 (+0100) Subject: Also read addresses from "ipv6-prefix-assignment" ifstatus table X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb2a20924afd979feb485298111ced679de42aa0;p=oweals%2Ffirewall3.git Also read addresses from "ipv6-prefix-assignment" ifstatus table --- diff --git a/ubus.c b/ubus.c index 0647bc3..16c8c49 100644 --- 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)); }