[Feature][ZXW-41] merged 0601 version
Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/ap/app/Script/scripts/wan_ipv6.sh b/ap/app/Script/scripts/wan_ipv6.sh
index d7045caa..3f4330f 100755
--- a/ap/app/Script/scripts/wan_ipv6.sh
+++ b/ap/app/Script/scripts/wan_ipv6.sh
@@ -328,7 +328,7 @@
#if [ $? -ne 0 ];then
#echo "Error: ip -6 rule del from $wan_addr table $rt_num failed." >> $test_log
#fi
- if [ -n "$default_gw_addr_temp" ] ; then
+ if [ -n "$default_gw_addr_temp" ] && [ "-$default_gw_addr_temp" != "-::" ] ; then
ip -6 route del default via $default_gw_addr_temp dev $wan_if table $rt_num
#if [ $? -ne 0 ];then
#echo "Error: ip -6 route del default via $default_gw_addr_temp dev $wan_if table $rt_num failed." >> $test_log