Max Lv 11 years ago
parent
commit
02a3280d86
1 changed files with 0 additions and 6 deletions
  1. 6
      src/local.c

6
src/local.c

@ -52,7 +52,6 @@ int acl = 0;
int verbose = 0; int verbose = 0;
int udprelay = 0; int udprelay = 0;
static int fast_open = 0; static int fast_open = 0;
static int protect_socket = 0;
#ifndef __MINGW32__ #ifndef __MINGW32__
static int setnonblocking(int fd) static int setnonblocking(int fd)
@ -942,7 +941,6 @@ int main (int argc, char **argv)
{ {
{"fast-open", no_argument, 0, 0 }, {"fast-open", no_argument, 0, 0 },
{"acl", required_argument, 0, 0 }, {"acl", required_argument, 0, 0 },
{"protect-socket", no_argument, 0, 0 },
{0, 0, 0, 0 } {0, 0, 0, 0 }
}; };
@ -968,10 +966,6 @@ int main (int argc, char **argv)
acl = 1; acl = 1;
init_acl(optarg); init_acl(optarg);
} }
else if (option_index == 2)
{
protect_socket = 1;
}
break; break;
case 's': case 's':
remote_addr[remote_num].host = optarg; remote_addr[remote_num].host = optarg;

Loading…
Cancel
Save