Support IP_BOUND_IF on MacOS

This commit is contained in:
Vladimir Dubrovin committed 2022-06-28 12:50:48 +03:00
1 parent 4ad05d1565
commit c1beceb24b
3 files changed
+33 -5

No files matched your search

+1 -1
View File
@@ -457,7 +457,7 @@ struct srvparam {
struct pollfd fds;
FILE *stdlog;
unsigned char * target;
#ifdef SO_BINDTODEVICE
#if defined SO_BINDTODEVICE || defined IP_BOUND_IF
char * ibindtodevice;
char * obindtodevice;
#endif