[Feature][ZXW-130]merge P50U02 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: I4f29ec5bb7c59385f23738d2b7ca84e67c100f69
diff --git a/ap/app/Script/scripts/wan_ipv6.sh b/ap/app/Script/scripts/wan_ipv6.sh
index 3f4330f..d1c1708 100755
--- a/ap/app/Script/scripts/wan_ipv6.sh
+++ b/ap/app/Script/scripts/wan_ipv6.sh
@@ -393,7 +393,9 @@
 case $1 in 
  "linkup") 
     linkup_get_wan_addr $2 $3
-	
+if [ "-$c_id" == "-0" -o "-$c_id" == "-$def_cid" ]; then
+	(router_msg_proxy ipv6 $c_id >> $test_log 2>&1 || echo "Error: router_msg_proxy ipv6 wan_ipv6.sh failed." >> $test_log) &
+fi	
     ;;
  
  "linkdown") 
@@ -406,11 +408,12 @@
 		slaac_kill
 		ndp_kill
 		del_default_wan6 $wan_if
+if [ "-$c_id" == "-0" -o "-$c_id" == "-$def_cid" ]; then
+	(router_msg_proxy ipv6 0 >> $test_log 2>&1 || echo "Error: router_msg_proxy ipv6 wan_ipv6.sh failed." >> $test_log) &
+fi
     ;;
 
 esac
 
 
-if [ "-$c_id" == "-0" -o "-$c_id" == "-$def_cid" ]; then
-	(router_msg_proxy ipv6 wan_ipv6.sh >> $test_log 2>&1 || echo "Error: router_msg_proxy ipv6 wan_ipv6.sh failed." >> $test_log) &
-fi
+