From f71f66f60ba3f05ef6d11d3e365fa35a9a6a7ba1 Mon Sep 17 00:00:00 2001 From: Tor Petterson Date: Thu, 8 Nov 2018 11:56:58 +0100 Subject: [PATCH] Expanded Documentation of option log-srtp-keys --- README.md | 2 +- daemon/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a9e6891c..bb5648011 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ option and which are reproduced below: --priority=INT Thread scheduling priority --idle-scheduling=default|... Idle thread scheduling policy --idle-priority=INT Idle thread scheduling priority - --log-srtp-keys Write SRTP keys to log + --log-srtp-keys Write SRTP keys to error log instead of debug log Most of these options are indeed optional, with two exceptions. It's mandatory to specify at least one local IP address through `--interface`, and at least one of the `--listen-...` options must be given. diff --git a/daemon/main.c b/daemon/main.c index 8131d5fb6..3b3fce06b 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -362,7 +362,7 @@ static void options(int *argc, char ***argv) { { "priority", 0, 0, G_OPTION_ARG_INT, &rtpe_config.priority, "Thread scheduling priority", "INT" }, { "idle-scheduling",0, 0,G_OPTION_ARG_STRING, &rtpe_config.idle_scheduling,"Idle thread scheduling policy", "default|none|fifo|rr|other|batch|idle" }, { "idle-priority",0, 0, G_OPTION_ARG_INT, &rtpe_config.idle_priority,"Idle thread scheduling priority", "INT" }, - { "log-srtp-keys",'F', 0, G_OPTION_ARG_NONE, &rtpe_config.log_keys, "Log SRTP keys", NULL }, + { "log-srtp-keys",'F', 0, G_OPTION_ARG_NONE, &rtpe_config.log_keys, "Log SRTP keys to error log", NULL }, { NULL, } };