mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 12:36:53 +00:00
fix a build issue
This commit is contained in:
@@ -169,7 +169,9 @@ struct remote *connect_to_remote(struct addrinfo *res, struct server *server)
|
||||
{
|
||||
int sockfd;
|
||||
int opt = 1;
|
||||
#ifdef SET_INTERFACE
|
||||
const char *iface = server->listen_ctx->iface;
|
||||
#endif
|
||||
|
||||
// initilize remote socks
|
||||
sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
|
||||
|
||||
Reference in New Issue
Block a user