|
|
@ -754,7 +754,7 @@ int udprelay_init(const char *server_host, const char *server_port, |
|
|
|
#ifdef UDPRELAY_REMOTE |
|
|
|
asyncns_t *asyncns, |
|
|
|
#endif |
|
|
|
int method, int timeout, const char *interface) |
|
|
|
int method, int timeout, const char *iface) |
|
|
|
{ |
|
|
|
|
|
|
|
// Inilitialize ev loop |
|
|
@ -778,7 +778,7 @@ int udprelay_init(const char *server_host, const char *server_port, |
|
|
|
struct server_ctx *server_ctx = new_server_ctx(serverfd); |
|
|
|
server_ctx->timeout = timeout; |
|
|
|
server_ctx->method = method; |
|
|
|
server_ctx->iface = interface; |
|
|
|
server_ctx->iface = iface; |
|
|
|
server_ctx->conn_cache = conn_cache; |
|
|
|
#ifdef UDPRELAY_LOCAL |
|
|
|
server_ctx->remote_host = remote_host; |
|
|
|