ipacm: IPACM crash during driving test

Modified the check to drop any ipv6 IP_ADDR_ADD request having the
same prefix as the existing ipv6 prefix

Change-Id: I63dc3062a1aea18835cb85b23aa91dcd97678612
diff --git a/ipacm/src/IPACM_Wan.cpp b/ipacm/src/IPACM_Wan.cpp
index 4316ba8..c9a8ff1 100644
--- a/ipacm/src/IPACM_Wan.cpp
+++ b/ipacm/src/IPACM_Wan.cpp
@@ -1706,7 +1706,9 @@
 				if( (data->iptype == IPA_IP_v4)
 					    || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))
 					    || ((data->iptype==IPA_IP_v6) && is_global_ipv6_addr(data->ipv6_addr)
-					    && (m_is_sta_mode == Q6_WAN) && sec_num_dft_rt_v6 != MAX_DEFAULT_SEC_v6_ROUTE_RULES) )
+							&& (data->ipv6_addr[0] || data->ipv6_addr[1]) && (ipv6_prefix[0] || ipv6_prefix[1])
+							&& !((ipv6_prefix[0] == data->ipv6_addr[0]) && (ipv6_prefix[1] == data->ipv6_addr[1]))
+							&& (m_is_sta_mode == Q6_WAN) && sec_num_dft_rt_v6 != MAX_DEFAULT_SEC_v6_ROUTE_RULES) )
 				{
 					if (m_is_sta_mode == Q6_MHI_WAN)
 					{