Merge "[Bugfix][T106BUG-520]Fix the problem of not being able to ping ipv4 addresses"
diff --git a/ap/app/zte_comm/zte_mainctrl/netdev_proc.c b/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
index f7c0954..8ec3e52 100755
--- a/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
+++ b/ap/app/zte_comm/zte_mainctrl/netdev_proc.c
@@ -1812,7 +1812,10 @@
 		//sprintf(cmd, "/sbin/wan_ipv4.sh \"linkup\" \"pswan\" \"%d\"", actinfo->c_id);
 		sprintf(cmd, "/sbin/wan_ipv4.sh linkup pswan %d", actinfo->c_id);
 		//zxic_system(cmd);
-		fpv4 = popen(cmd, "r");
+		//xf.li@20240314 modify for T106BUG-520 start
+		//fpv4 = popen(cmd, "r");
+		system_cmd_ex(cmd);
+		//xf.li@20240314 modify for T106BUG-520 end
 	}
 
 	if (actinfo->act_info.ip46flag == V6_VALID || actinfo->act_info.ip46flag == V46_VALID) {
@@ -1829,12 +1832,17 @@
 		//sprintf(cmd, "/sbin/wan_ipv6.sh \"linkup\" \"pswan\" \"%d\"", actinfo->c_id);
 		sprintf(cmd, "/sbin/wan_ipv6.sh linkup pswan %d", actinfo->c_id);
 		//zxic_system(cmd);
-		fpv6 = popen(cmd, "r");
+		//xf.li@20240314 modify for T106BUG-520 start
+		//fpv6 = popen(cmd, "r");
+		system_cmd_ex(cmd);
+		//xf.li@20240314 modify for T106BUG-520 end
 	}
-	if(fpv4 != NULL)
+	//xf.li@20240314 modify for T106BUG-520 start
+	/*if(fpv4 != NULL)
 		pclose(fpv4);
 	if(fpv6 != NULL)
-		pclose(fpv6);
+		pclose(fpv6);*/
+	//xf.li@20240314 modify for T106BUG-520 end
 	return 1;
 }