From 44220a5a53448329fc44cbbb9578eccb54b18332 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sat, 4 Feb 2017 09:29:31 +0800 Subject: [PATCH] Fix options --- src/redir.c | 2 +- src/tunnel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redir.c b/src/redir.c index dfd01856..3ffaaf37 100644 --- a/src/redir.c +++ b/src/redir.c @@ -806,7 +806,7 @@ main(int argc, char **argv) { "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP }, { "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN }, { "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS }, - { "port-reuse", no_argument, NULL, GETOPT_VAL_REUSE_PORT }, + { "reuse-port", no_argument, NULL, GETOPT_VAL_REUSE_PORT }, { "help", no_argument, NULL, GETOPT_VAL_HELP }, { NULL, 0, NULL, 0 } }; diff --git a/src/tunnel.c b/src/tunnel.c index f05e442f..b68d24ea 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -753,7 +753,7 @@ main(int argc, char **argv) { "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP }, { "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN }, { "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS }, - { "port-reuse", no_argument, NULL, GETOPT_VAL_REUSE_PORT }, + { "reuse-port", no_argument, NULL, GETOPT_VAL_REUSE_PORT }, { "help", no_argument, NULL, GETOPT_VAL_HELP }, { NULL, 0, NULL, 0} };