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

add -B bind device option (follows up on #29) #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peppergrayxyz
Copy link

This follows up on #29

  • works on linux and macos
  • dedicated file (ifdefs are in a single spot)
  • doesn't break the build if feature is unsupported (use stub and return error if used)
  • prints a build message if feature is unsupported

It could be integrated into socksrv.c as well, but #include <netinet/in.h> must be included with _GNU_SOURCE or _DARWIN_C_SOURCE set (depending on the platform) and this doesn't play well with the way the server.h currently works.

References:

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.

1 participant