Browse Source

Fix options

pull/1186/head
Max Lv 8 years ago
parent
commit
44220a5a53
2 changed files with 2 additions and 2 deletions
  1. 2
      src/redir.c
  2. 2
      src/tunnel.c

2
src/redir.c

@ -806,7 +806,7 @@ main(int argc, char **argv)
{ "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP }, { "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP },
{ "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN }, { "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN },
{ "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS }, { "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 }, { "help", no_argument, NULL, GETOPT_VAL_HELP },
{ NULL, 0, NULL, 0 } { NULL, 0, NULL, 0 }
}; };

2
src/tunnel.c

@ -753,7 +753,7 @@ main(int argc, char **argv)
{ "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP }, { "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP },
{ "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN }, { "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN },
{ "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS }, { "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 }, { "help", no_argument, NULL, GETOPT_VAL_HELP },
{ NULL, 0, NULL, 0} { NULL, 0, NULL, 0}
}; };

Loading…
Cancel
Save