-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PcapRemoteDevice's clone method does not work. #1439
Comments
@Dimi1010 I can't remember if this issue was fixed or not 🤦♂️ |
Still present, as the remote device class does not have its own |
Got it, thanks. The clang-formate might take time because we're moving in small steps. We'll probably save Pcap++ to last because it's the most complex as not everything has tests... |
Sure. Btw @seladb , is there a specific reason we are cloning the devices via re-fetching the |
Fixed by #1497 |
PcapRemoteDevice
's clone method directly inherits fromPcapLiveDevice
's clone method.The method incorrectly attempts to fetch the device from local devices, failing and returning
nullptr
.Solution would be to add an override to the clone method, correctly dispatching to fetch the remote devices, or refactoring the clone call to skip the fetching if possible.
The text was updated successfully, but these errors were encountered: