This commit is contained in:
Max Lv
2014-05-11 08:15:49 +08:00
parent 37c1b69581
commit 02a3280d86
-6
View File
@@ -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;