-
Notifications
You must be signed in to change notification settings - Fork 1
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
Catch ctrl-c call #11
Comments
Use |
read pcap_breakloop for how to break the pcap_loop call to end early and return to our code to rename the interface etc. It warns that if called from a sig_handler, it may cause the OS to restart the syscall, causing the loop to not stop. Not sure how to indicate a preference to that. Stack Overflow seems to suggest man 7 signal includes some info, but I don't see it from a quick look. |
#11
The text was updated successfully, but these errors were encountered: