[Bugfix][T106BUG-196]set the pdptype of normal data is IPV4V6
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: Ica1dbdf8ec7a87ad7b1f190c31dfc7f469634d20
diff --git a/ap/project/zx297520v3/prj_vehicle_dc_ref/fs/normal/rootfs/etc_ro/config/auto_apn/auto_apn.db b/ap/project/zx297520v3/prj_vehicle_dc_ref/fs/normal/rootfs/etc_ro/config/auto_apn/auto_apn.db
index 6a6d698..b9f65db 100644
--- a/ap/project/zx297520v3/prj_vehicle_dc_ref/fs/normal/rootfs/etc_ro/config/auto_apn/auto_apn.db
+++ b/ap/project/zx297520v3/prj_vehicle_dc_ref/fs/normal/rootfs/etc_ro/config/auto_apn/auto_apn.db
Binary files differ
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
index 85767bc..dc996f4 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
@@ -1028,7 +1028,7 @@
{
info->profile_idx = profile_idx;
info->ip_family = ip_family;
- if (strncmp(data_call_info.type,"IPV4", strlen("IPV4") + 1) == 0)
+ if ((strncmp(data_call_info.type,"IPV4", strlen("IPV4") + 1) == 0) || (strncmp(data_call_info.type,"IP", strlen("IP") + 1) == 0))
{
strcpy(info->v4.name,data_call_info.ifname);
datacall_ipv4_status_judge(data_call_info.status,info);