From 02a3280d862938b5e667994f689755da7af2eedc Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 11 May 2014 08:15:49 +0800 Subject: [PATCH] clean up --- src/local.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/local.c b/src/local.c index 12989c81..9f17f6a1 100644 --- a/src/local.c +++ b/src/local.c @@ -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;