修改调用DATA_SERVICE_EXT的接口

Change-Id: I133245cd185a19eaec495c6e10e8ef78282eb51d
Signed-off-by: c00502172 <changxiaobo2@huawei.com>
This commit is contained in:
changxiaobo 2024-04-30 15:32:42 +08:00
parent 79fcc7649d
commit b26a02d23a

View File

@ -45,7 +45,8 @@ void DataServiceExtWrapper::InitDataServiceExtWrapper()
return;
}
requestTcpAndDnsPackets_ = (REQUEST_TCP_AND_DNS_PACKETS)dlsym(DataServiceExtWrapperHandle_, "SendGetTcpSumToKernel");
requestTcpAndDnsPackets_ = (REQUEST_TCP_AND_DNS_PACKETS)dlsym(DataServiceExtWrapperHandle_,
"SendTcpPktCollecToKernel");
// Check whether all function pointers are empty.
if (requestTcpAndDnsPackets_ == nullptr) {
TELEPHONY_LOGE("data service ext wrapper symbol failed, error: %{public}s", dlerror());