Merge "[Bugfix][T106BUG-520]Fix the problem of not being able to ping ipv4 addresses"
diff --git a/ap/app/Script/scripts/wan_ipv4.sh b/ap/app/Script/scripts/wan_ipv4.sh
index 0473738..687e65a 100755
--- a/ap/app/Script/scripts/wan_ipv4.sh
+++ b/ap/app/Script/scripts/wan_ipv4.sh
@@ -236,8 +236,9 @@
#if [ "-$c_id" == "-0" -o "-$c_id" == "-$def_cid" ]; then
#echo 0 > /proc/sys/net/ipv4/ip_forward
#fi
-
- ifconfig $wan_if 0.0.0.0 2>>$test_log
+ #xf.li@20240228 delete for T106BUG-520 start
+ #ifconfig $wan_if 0.0.0.0 2>>$test_log
+ #xf.li@20240228 delete for T106BUG-520 end
if [ $? -ne 0 ];then
echo "Error: ifconfig $wan_if 0.0.0.0 failed." >> $test_log
fi
diff --git a/ap/app/zte_comm/zte_mainctrl/netdev_proc.c b/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
index 1715310..241ad2c 100755
--- a/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
+++ b/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
@@ -1138,8 +1138,10 @@
snprintf(cmd, sizeof(cmd),"ifconfig %s down", wan_name);
system_cmd_ex(cmd);
//ifconfig ip
- snprintf(cmd, sizeof(cmd),"ifconfig %s 0.0.0.0 down", wan_name);
- system_cmd_ex(cmd);
+ //xf.li@20240228 delete for T106BUG-520 start
+ //snprintf(cmd, sizeof(cmd),"ifconfig %s 0.0.0.0 down", wan_name);
+ //system_cmd_ex(cmd);
+ //xf.li@20240228 delete for T106BUG-520 end
sc_cfg_get("default_wan_name", default_wan_name, sizeof(default_wan_name));
sc_cfg_get("default_wan6_name", default_wan6_name, sizeof(default_wan6_name));