diff --git a/etc/et.cfg b/etc/et.cfg index 812adafdb..4a7d3443b 100644 --- a/etc/et.cfg +++ b/etc/et.cfg @@ -9,4 +9,4 @@ port = 2022 verbose = 0 silent = 0 logsize = 20971520 -telemetry = 1 +telemetry = true diff --git a/src/terminal/TerminalServerMain.cpp b/src/terminal/TerminalServerMain.cpp index c011b2cf7..3d10552d4 100644 --- a/src/terminal/TerminalServerMain.cpp +++ b/src/terminal/TerminalServerMain.cpp @@ -85,7 +85,7 @@ int main(int argc, char **argv) { int port = 0; string bindIp = ""; - bool telemetry = true; + bool telemetry = false; if (result.count("cfgfile")) { // Load the config file CSimpleIniA ini(true, false, false); @@ -106,7 +106,7 @@ int main(int argc, char **argv) { } } - telemetry = bool(stoi(ini.GetValue("Debug", "Telemetry", "1"))); + telemetry = ini.GetBoolValue("Debug", "telemetry", false); // read verbose level (prioritize command line option over cfgfile) const char *vlevel = ini.GetValue("Debug", "verbose", NULL); if (result.count("verbose")) {