Do not display empty CLI passwd alert if no CLI

Fix #361
pull/367/head
Mathieu Brunot 7 years ago committed by GitHub
parent 5e61bea8ec
commit 073fa0bd2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/apps/relay/mainrelay.c

@ -2249,7 +2249,7 @@ int main(int argc, char **argv)
}
}
if(cli_password[0]==0) {
if(use_cli && cli_password[0]==0) {
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "\nCONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!\n");
use_cli = 0;
}

Loading…
Cancel
Save