mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 12:36:53 +00:00
fix #218
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOL_TCP
|
||||
#define SOL_TCP IPPROTO_TCP
|
||||
#endif
|
||||
|
||||
int init_udprelay(const char *server_host, const char *server_port,
|
||||
#ifdef UDPRELAY_LOCAL
|
||||
const struct sockaddr *remote_addr, const int remote_addr_len,
|
||||
|
||||
+1
-1
@@ -63,9 +63,9 @@
|
||||
|
||||
#include "netutils.h"
|
||||
#include "utils.h"
|
||||
#include "local.h"
|
||||
#include "socks5.h"
|
||||
#include "acl.h"
|
||||
#include "local.h"
|
||||
|
||||
#ifndef EAGAIN
|
||||
#define EAGAIN EWOULDBLOCK
|
||||
|
||||
+1
-1
@@ -57,8 +57,8 @@
|
||||
#include <udns.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "udprelay.h"
|
||||
#include "cache.h"
|
||||
#include "udprelay.h"
|
||||
|
||||
#ifdef UDPRELAY_REMOTE
|
||||
#define MAX_UDP_CONN_NUM 1024
|
||||
|
||||
Reference in New Issue
Block a user