[BugFix][T800][bug-view-60]Insert apn with roaming_protocol = IPV4V6,but query result is IP
Only Configure: Yes
Affected branch: All
Affected module: Data
Is it affected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No
Change-Id: I6768f62bc7ed67c0d3bd98eb47e90f814ac899e5
diff --git a/common_src/lib/liblynq-data/lynq_data.cpp b/common_src/lib/liblynq-data/lynq_data.cpp
index c307b32..cb2ad0b 100755
--- a/common_src/lib/liblynq-data/lynq_data.cpp
+++ b/common_src/lib/liblynq-data/lynq_data.cpp
@@ -1621,19 +1621,19 @@
}
if (normalprotocol == NULL)
{
- sprintf(strtmp[7], "normalprotocol=;");
+ sprintf(strtmp[7], "protocol=;");
}
else
{
- sprintf(strtmp[7], "normalprotocol=%s;", normalprotocol);
+ sprintf(strtmp[7], "protocol=%s;", normalprotocol);
}
if (roamingprotocol == NULL)
{
- sprintf(strtmp[8], "roamingprotocol=;");
+ sprintf(strtmp[8], "roaming_protocol=;");
}
else
{
- sprintf(strtmp[8], "roamingprotocol=%s;", roamingprotocol);
+ sprintf(strtmp[8], "roaming_protocol=%s;", roamingprotocol);
}
if (carrier == NULL)
{
@@ -1709,19 +1709,19 @@
}
if (normalprotocol == NULL)
{
- sprintf(strtmp[7], "normalprotocol=;");
+ sprintf(strtmp[7], "protocol=;");
}
else
{
- sprintf(strtmp[7], "normalprotocol=%s;", normalprotocol);
+ sprintf(strtmp[7], "protocol=%s;", normalprotocol);
}
if (roamingprotocol == NULL)
{
- sprintf(strtmp[8], "roamingprotocol=;");
+ sprintf(strtmp[8], "roaming_protocol=;");
}
else
{
- sprintf(strtmp[8], "roamingprotocol=%s;", roamingprotocol);
+ sprintf(strtmp[8], "roaming_protocol=%s;", roamingprotocol);
}
if (carrier == NULL)
{