注销网络设备关闭的代码

This commit is contained in:
flykhan 2023-09-21 15:49:12 +08:00
parent 949891e366
commit 84cc8c6e23
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -17,9 +17,9 @@ int main(int argc, char const *argv[])
// close(sockfd); // 关闭原始套接字
close_mysql(); // 关闭数据库连接
// 关闭网络设备
pcap_close(device1);
pcap_close(device2);
// // 关闭网络设备
// pcap_close(device1);
// pcap_close(device2);
return 0;
}