Skip to content
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

Implement AsFd for Capture<Active> #367

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Conversation

gmacon
Copy link
Contributor

@gmacon gmacon commented Aug 30, 2024

I wanted to use nix::poll::poll to wait for the next packet, and a BorrowedFd is needed.

@Wojtek242
Copy link
Collaborator

Thanks for the PR! Looks good to me as it is. Can you just update the CHANGELOG as well? I will then release it shortly after I merge it.

@Wojtek242 Wojtek242 merged commit fc845e6 into rust-pcap:main Sep 1, 2024
12 checks passed
@gmacon gmacon deleted the impl-asfd branch September 1, 2024 23:19
@gmacon
Copy link
Contributor Author

gmacon commented Sep 1, 2024

Thank you for turning this around so fast. I had implemented equivalent functionality as a free function in anticipation of having to wait for this to end up in a release, but you got the release done before my colleagues got my changes reviewed, so I've just removed the free function and called this one instead. I really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants