summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mulderd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mulderd.c b/mulderd.c
index ef31b54..2c06b18 100644
--- a/mulderd.c
+++ b/mulderd.c
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
time_t now;
socklen_t connection_addr_len;
pid_t child;
- int daemonize = 0, option_index = 0, port = 9911, connection_file = 0, option;
+ int daemonize = 0, option_index = 0, port = 17, connection_file = 0, option;
char *pid_file = 0, *connection_log = 0, *time_str;
FILE *pidfile;
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
fprintf(stderr, " -f, --foreground run in the foreground (default)\n");
fprintf(stderr, " -P FILE, --pid-file=FILE write pid of listener process to FILE\n");
fprintf(stderr, " -l FILE, --log-file=FILE write connection log to FILE instead of stdout/stderr\n");
- fprintf(stderr, " -p PORT, --port=PORT listen on port PORT (default=9911)\n");
+ fprintf(stderr, " -p PORT, --port=PORT listen on port PORT (default=17)\n");
fprintf(stderr, " -h, --help display this message\n");
return option == 'h' ? EXIT_SUCCESS : EXIT_FAILURE;
}