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

Activate returns a warning/error code integer #54

Open
ghost opened this issue Jul 25, 2018 · 0 comments
Open

Activate returns a warning/error code integer #54

ghost opened this issue Jul 25, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2018

There is no easy way to identify the cause of the error based on the integer. libpcap includes the function pcap_statustostr that accepts an integer and returns the error/warning string associated with it.

It seems like the statustostr function would be a good thing to add.

It it also possible to add an error exception to the activate function, however this may be a breaking change and it would not be faithful to the original libpcap implementation.

@ghost ghost changed the title Activate returns an warning/error code integer Activate returns a warning/error code integer Aug 4, 2018
@ghost ghost mentioned this issue Aug 4, 2018
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

No branches or pull requests

0 participants