summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 035f705..bdfe201 100644
--- a/main.c
+++ b/main.c
@@ -39,6 +39,9 @@ char *pidfile = NULL;
39/* Username to which we suid() in daemon mode */ 39/* Username to which we suid() in daemon mode */
40char *daemon_username = NULL; 40char *daemon_username = NULL;
41 41
42/* Shared secret used for authentication */
43char *shared_secret = NULL;
44
42fd_set master_server_fds; 45fd_set master_server_fds;
43 46
44/* We keep two hash tables: one indexed by sockfd and another by "connection id" */ 47/* We keep two hash tables: one indexed by sockfd and another by "connection id" */
@@ -945,6 +948,7 @@ void help()
945 fprintf(stderr, "-P <remotehostname>:<remoteport> - forward <remotehostname>:<remoteport> to stdin/stdout (SSH ProxyCommand mode)\n"); 948 fprintf(stderr, "-P <remotehostname>:<remoteport> - forward <remotehostname>:<remoteport> to stdin/stdout (SSH ProxyCommand mode)\n");
946 fprintf(stderr, "-p - ping the server from -i and exit\n"); 949 fprintf(stderr, "-p - ping the server from -i and exit\n");
947 fprintf(stderr, "-C <dir> - save private key in <dir> instead of /etc/tuntox in server mode\n"); 950 fprintf(stderr, "-C <dir> - save private key in <dir> instead of /etc/tuntox in server mode\n");
951 fprintf(stderr, "-s <secret> - shared secret used for connection authentication\n");
948 fprintf(stderr, "-d - debug mode\n"); 952 fprintf(stderr, "-d - debug mode\n");
949 fprintf(stderr, "-q - quiet mode\n"); 953 fprintf(stderr, "-q - quiet mode\n");
950 fprintf(stderr, "-S - send output to syslog instead of stderr\n"); 954 fprintf(stderr, "-S - send output to syslog instead of stderr\n");