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
Sometimes we need to specify a non-first IPv4/IPv6 address under an interface. Currently, interfaces of the same type will only match the first IP address. Can these functions be extended?
The text was updated successfully, but these errors were encountered:
I assume that you have multiple interfaces with the same IP on a machine?
It should be possible to add a function to return a collection of devices that match the IP instead of a single one, since the normal search is just looping through the list of devices and tries to compare the provided IP with the one on the device, then breaks on the first match.
You are welcome to make a PR with the additions if you want.
Also, on the current master branch PcapLiveDevice objects now store their IP addresses as IPAddress objects, so a workaround there is to fetch all the devices from the list and manually loop through their IPs to find the ones you need. This change however was made after v24.09 was released so it is only on the master branch for now.
Sometimes we need to specify a non-first IPv4/IPv6 address under an interface. Currently, interfaces of the same type will only match the first IP address. Can these functions be extended?
The text was updated successfully, but these errors were encountered: