[Bugfix][API-1505][rtp] after call lynq_set_remote_rtp_ip lynq_get_remote_rtp_ip, then dail a call, return 8004
Affected branch: unknown
Affected module: unknown
Is it affected on both ZXIC and MTK: MTK
Self-test: Yes
Doc Update: No
Change-Id: I5f7ddf4c3b3f0ead9d9650374e09abe279ed4f4c
diff --git a/framework/lynq-ril-service/src/rtp/call_rtp.cpp b/framework/lynq-ril-service/src/rtp/call_rtp.cpp
index aa92a7b..0f8e597 100755
--- a/framework/lynq-ril-service/src/rtp/call_rtp.cpp
+++ b/framework/lynq-ril-service/src/rtp/call_rtp.cpp
@@ -277,7 +277,7 @@
int get_remote_rtp_ip(int argc, char **argv, RIL_SOCKET_ID socket_id, RequestInfo *pRI)
{
- char rtp_ip[MAX_VLAN_INFO_LENGTH]={0};
+ char rtp_ip[MAX_IP_LENGTH]={0};
android::Parcel p;
if(exe_get_remote_rtp_ip(rtp_ip,MAX_IP_LENGTH)==RESULT_OK)