You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During initialization of PcapLiveDeviceList information of all devices is fetched via pcap_findalldevs. This information is used to populate PcapLiveDevice objects and then the list is freed. This results in an issue as the device instance holds its IP address information in pcap_addr_t structs that are technically dangling, but still working somehow.
The fix to this issue will be implemented as a two stage process.
It hasn't been fixed. That was only Task 1.
The underlying IP is still stored in pcap_addr_t which I can't remove until PcapLiveDevice::getAddresses() is removed which needs to go though its deprecation cycle.
During initialization of
PcapLiveDeviceList
information of all devices is fetched viapcap_findalldevs
. This information is used to populatePcapLiveDevice
objects and then the list is freed. This results in an issue as the device instance holds its IP address information inpcap_addr_t
structs that are technically dangling, but still working somehow.The fix to this issue will be implemented as a two stage process.
std::vector<IPAddress>
for all IP addresses and deprecatePcapLiveDevice::getAddresses
as that returns a :vector ofpcap_addr_t
structs.(Add getter to fetch all IP addresses of a live device as IPAddress objects. #1500)
PcapLiveDevice::getAddresses
and refactorPcapLiveDevice
to hold its IP information in a vector ofIPAddress
objects. (Change PcapLiveDevice to store IP information as IPAddresses. #1497)The text was updated successfully, but these errors were encountered: