-
Notifications
You must be signed in to change notification settings - Fork 847
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
libpcap can print to standard error under certain conditions #1280
Comments
And As We should, at some point, have a pointer to a mallocated error buffer in For now, we can just remove the |
git grep stderr
returns quite a few results, some of which are on popular code paths, for example,pcap_setfilter_linux()
andpcap_cleanup_linux()
. This is wrong for a library and should be fixed. If there is a genuine need to convey device close errors to the library user, perhaps it would make sense to introducepcap_close_ex()
, which would return a status code.The text was updated successfully, but these errors were encountered: