mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-25 02:03:42 +00:00
clean up
This commit is contained in:
@@ -52,7 +52,6 @@ int acl = 0;
|
||||
int verbose = 0;
|
||||
int udprelay = 0;
|
||||
static int fast_open = 0;
|
||||
static int protect_socket = 0;
|
||||
|
||||
#ifndef __MINGW32__
|
||||
static int setnonblocking(int fd)
|
||||
@@ -942,7 +941,6 @@ int main (int argc, char **argv)
|
||||
{
|
||||
{"fast-open", no_argument, 0, 0 },
|
||||
{"acl", required_argument, 0, 0 },
|
||||
{"protect-socket", no_argument, 0, 0 },
|
||||
{0, 0, 0, 0 }
|
||||
};
|
||||
|
||||
@@ -968,10 +966,6 @@ int main (int argc, char **argv)
|
||||
acl = 1;
|
||||
init_acl(optarg);
|
||||
}
|
||||
else if (option_index == 2)
|
||||
{
|
||||
protect_socket = 1;
|
||||
}
|
||||
break;
|
||||
case 's':
|
||||
remote_addr[remote_num].host = optarg;
|
||||
|
||||
Reference in New Issue
Block a user