Merge "IPACM: Fix the filter index while deleting the rule"
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp
index f3bb6f8..6e5f006 100644
--- a/ipacm/src/IPACM_Lan.cpp
+++ b/ipacm/src/IPACM_Lan.cpp
@@ -477,7 +477,13 @@
{
install_ipv6_icmp_flt_rule();
}
+
+#ifdef FEATURE_IPA_ANDROID
+ add_dummy_private_subnet_flt_rule(data->iptype);
+ handle_private_subnet_android(data->iptype);
+#else
handle_private_subnet(data->iptype);
+#endif
if (IPACM_Wan::isWanUP())
{
@@ -4361,9 +4367,9 @@
memset(lan_client, 0, sizeof(ipacm_event_lan_client));
lan_client->iptype = IPA_IP_v6;
lan_client->ipv6_addr[0] = get_client_memptr(eth_client, i)->v6_addr[j][0];
- lan_client->ipv6_addr[0] = get_client_memptr(eth_client, i)->v6_addr[j][0];
- lan_client->ipv6_addr[0] = get_client_memptr(eth_client, i)->v6_addr[j][0];
- lan_client->ipv6_addr[0] = get_client_memptr(eth_client, i)->v6_addr[j][0];
+ lan_client->ipv6_addr[1] = get_client_memptr(eth_client, i)->v6_addr[j][1];
+ lan_client->ipv6_addr[2] = get_client_memptr(eth_client, i)->v6_addr[j][2];
+ lan_client->ipv6_addr[3] = get_client_memptr(eth_client, i)->v6_addr[j][3];
lan_client->p_iface = this;
memset(&evt_data, 0, sizeof(ipacm_cmd_q_data));