mirror of
https://gitee.com/openharmony/telephony_cellular_data
synced 2024-11-23 16:00:12 +00:00
修改调用DATA_SERVICE_EXT的接口
Change-Id: I133245cd185a19eaec495c6e10e8ef78282eb51d Signed-off-by: c00502172 <changxiaobo2@huawei.com>
This commit is contained in:
parent
79fcc7649d
commit
b26a02d23a
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user