Add support to bind to interface (-Di / -Do) via SO_BINDTODEVICE

This commit is contained in:
z3APA3A committed 2017-08-14 18:22:15 +03:00
1 parent 6010190940
commit b17b36cbce
3 files changed
+25 -2

No files matched your search

+4
View File
@@ -417,6 +417,10 @@ struct srvparam {
struct pollfd fds;
FILE *stdlog;
unsigned char * target;
#ifdef SO_BINDTODEVICE
char * ibindtodevice;
char * obindtodevice;
#endif
struct auth *authenticate;
struct pollfd * srvfds;
struct ace *acl;