Resolve build issues with new pcap driver

This commit is contained in:
Paul Hollinsky
2019-05-06 13:17:11 -04:00
parent 3aaccaad74
commit bead22bc36
3 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ protected:
virtual void setupDecoder(Decoder& decoder) override {
Device::setupDecoder(decoder);
decoder.timestampMultiplier = 10; // Timestamps are in 10ns increments instead of the usual 25ns
decoder.timestampResolution = 10; // Timestamps are in 10ns increments instead of the usual 25ns
}
virtual void setupSupportedRXNetworks(std::vector<Network>& rxNetworks) override {
+2 -3
View File
@@ -26,7 +26,6 @@ public:
bool isOpen();
bool close();
private:
device_errorhandler_t err;
char errbuf[PCAP_ERRBUF_SIZE] = { 0 };
neodevice_t& device;
uint8_t deviceMAC[6];
@@ -38,8 +37,8 @@ private:
public:
uint8_t uuid;
uint8_t macAddress[8];
std::string nameFromWinPCAP;
std::string descriptionFromWinPCAP;
std::string nameFromPCAP;
std::string descriptionFromPCAP;
std::string fullName;
pcap_t* fp = nullptr;
pcap_stat stats;