diff --git a/ChangeLog.txt b/ChangeLog.txt index bdc654f3..3799e9b9 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,8 @@ Broker: - Fix crash on receiving a $CONTROL message over a bridge, if per_listener_settings is set true and the bridge is carrying out topic remapping. Closes #3261. +- Fix incorrect reference clock being selected on startup on Linux. + Closes #3238. Client library: - Fix C++ symbols being removed when compiled with link time optimisation. diff --git a/src/mosquitto.c b/src/mosquitto.c index ff83ef3d..2aea5523 100644 --- a/src/mosquitto.c +++ b/src/mosquitto.c @@ -465,6 +465,7 @@ int main(int argc, char *argv[]) #endif struct mosquitto *ctxt, *ctxt_tmp; + mosquitto_time_init(); #if defined(WIN32) || defined(__CYGWIN__) if(argc == 2){ if(!strcmp(argv[1], "run")){