注销网络设备关闭的代码
This commit is contained in:
parent
949891e366
commit
84cc8c6e23
BIN
router/router
BIN
router/router
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue