[Bugfix][T106BUG-520]Fix the problem of not being able to ping ipv4 addresses
Only Configure: No
Affected branch: master
Affected module: data
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Iec50d10cd1e50be12bfa9927fde6aed21bcb2adc
diff --git a/ap/app/Script/scripts/wan_ipv4.sh b/ap/app/Script/scripts/wan_ipv4.sh
index dcbb548..7aac6ff 100755
--- a/ap/app/Script/scripts/wan_ipv4.sh
+++ b/ap/app/Script/scripts/wan_ipv4.sh
@@ -119,13 +119,11 @@
pswan_secdns=`nv get $wan_if"_secdns"`
pswan_nm=`nv get $wan_if"_nm"`
-#xf.li@20240306 modify for [Bugfix][T106BUG-469]Fix the bug of probability datacall fail start
-# #ifconfig $wan_if down 2>>$test_log
-# ifconfig $wan_if $pswan_ip netmask 255.255.255.0 up 2>>$test_log
-# if [ $? -ne 0 ];then
-# echo "Error: ifconfig $wan_if $pswan_ip up failed." >> $test_log
-# fi
-#xf.li@20240306 modify for [Bugfix][T106BUG-469]Fix the bug of probability datacall fail end
+ #ifconfig $wan_if down 2>>$test_log
+ ifconfig $wan_if $pswan_ip netmask 255.255.255.0 up 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: ifconfig $wan_if $pswan_ip up failed." >> $test_log
+ fi
pswan_pri=`nv get pswan_priority`
rt_num=`expr $pswan_pri \* 10 + $c_id`