mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-25 18:23:42 +00:00
Fix #626
This commit is contained in:
+2
-1
@@ -431,7 +431,8 @@ static remote_t *connect_to_remote(struct addrinfo *res,
|
||||
setnonblocking(sockfd);
|
||||
#ifdef SET_INTERFACE
|
||||
if (iface) {
|
||||
setinterface(sockfd, iface);
|
||||
if (setinterface(sockfd, iface) == -1)
|
||||
ERROR("setinterface");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user