[Feature][ZXW-452]merge P54U02 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/app/Script/scripts/psext_up_ipv6.sh b/ap/app/Script/scripts/psext_up_ipv6.sh
index 302b842..5861350 100755
--- a/ap/app/Script/scripts/psext_up_ipv6.sh
+++ b/ap/app/Script/scripts/psext_up_ipv6.sh
@@ -73,9 +73,10 @@
     rt_num=`expr $c_id + 150`
     ip -6 route add default dev $ps_if table $rt_num
     ip -6 rule add from $pdp_ip/64 fwmark $marknum table $rt_num
-
+	gw_in_cap=`nv get gw_in_cap`
+	if [ "x$gw_in_cap" != "x1" ]; then
     ip6tables -t filter -A FORWARD -p icmpv6 --icmpv6-type 135 -j DROP
-	
+	fi
     ip -6 route flush cache
 
 	route_info=`ip -6 route|grep default`