Print PCAP library version at drone startup

This commit is contained in:
Srivats P 2018-02-08 19:11:26 +05:30
parent 0b407af04c
commit f82cf933b4

View File

@ -38,6 +38,7 @@ PortManager::PortManager()
char errbuf[PCAP_ERRBUF_SIZE]; char errbuf[PCAP_ERRBUF_SIZE];
AbstractPort::Accuracy txRateAccuracy; AbstractPort::Accuracy txRateAccuracy;
qDebug("PCAP Lib: %s", pcap_lib_version());
qDebug("Retrieving the device list from the local machine\n"); qDebug("Retrieving the device list from the local machine\n");
if (pcap_findalldevs(&deviceList, errbuf) == -1) if (pcap_findalldevs(&deviceList, errbuf) == -1)