turn PCAPDLL into a singleton

This commit is contained in:
Jeffrey Quesnelle
2020-03-24 13:15:26 -04:00
parent 38e24d7641
commit 99879c9021
4 changed files with 32 additions and 23 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ public:
bool isOpen();
bool close();
private:
PCAPDLL pcap;
const PCAPDLL& pcap;
char errbuf[PCAP_ERRBUF_SIZE] = { 0 };
neodevice_t& device;
uint8_t deviceMAC[6];