POSIX: PCAP: Update inferface name to match Windows implementation

This commit is contained in:
Paul Hollinsky
2021-06-15 19:09:13 -04:00
parent b13a33f0be
commit 37d06807e4
2 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -39,14 +39,14 @@ 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;
};
static std::vector<NetworkInterface> knownInterfaces;
NetworkInterface interface;
NetworkInterface iface;
class EthernetPacket {
public: // Don't worry about endian when setting fields, this is all taken care of in getBytestream