mirror of
https://github.com/3proxy/3proxy.git
synced 2026-05-13 13:57:26 +00:00
Fix warning
This commit is contained in:
parent
71c58e0c77
commit
92f170fca2
1 changed files with 1 additions and 1 deletions
|
|
@ -677,7 +677,7 @@ int MODULEMAINFUNC (int argc, char** argv){
|
|||
#endif
|
||||
#if defined SO_BINDTODEVICE
|
||||
if(srv.ibindtodevice && srv.so._setsockopt(srv.so.state, sock, SOL_SOCKET, SO_BINDTODEVICE, srv.ibindtodevice, strlen(srv.ibindtodevice) + 1)) {
|
||||
dolog(&defparam, "failed to bind device");
|
||||
dolog(&defparam, (unsigned char *)"failed to bind device");
|
||||
return -12;
|
||||
}
|
||||
#elif defined IP_BOUND_IF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue