Skip to content

Commit

Permalink
Add link to authentication options if running in local only mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Mar 20, 2021
1 parent a6bb8d3 commit 9989a35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mosquitto.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ int listeners__start_local_only(void)

log__printf(NULL, MOSQ_LOG_WARNING, "Starting in local only mode. Connections will only be possible from clients running on this machine.");
log__printf(NULL, MOSQ_LOG_WARNING, "Create a configuration file which defines a listener to allow remote access.");
log__printf(NULL, MOSQ_LOG_WARNING, "For more details see https://mosquitto.org/documentation/authentication-methods/");
if(db.config->cmd_port_count == 0){
rc = listeners__add_local("127.0.0.1", 1883);
if(rc == MOSQ_ERR_NOMEM) return MOSQ_ERR_NOMEM;
Expand Down

0 comments on commit 9989a35

Please sign in to comment.