of command execution
- Fix: Live traffic meter occasionally showing higher minimum than average
in end statistics (Debian Bug #687812)
+ - Fix: Setting locale when none is specified in config (Debian Bug #606397)
- Fix: Cppcheck findings (may fix Debian Bug #692330)
- Improve traffic meter output accuracy
- Add tests and debug compilation target
.TP
.BI Locale
Locale setting to be used for prints. This replaces the LC_ALL
-environment variable. Set to "-" in order to use the system default
-value. (vnstat and vnstati only)
+environment variable. Set to "-" or leave empty in order to use the
+system default value. (vnstat and vnstati only)
.TP
.BI MaxBandwidth
} else {
if (getenv("LC_ALL")) {
setlocale(LC_ALL, getenv("LC_ALL"));
+ } else {
+ setlocale(LC_ALL, "");
}
}
strncpy_nt(p.interface, "default", 32);
} else {
if (getenv("LC_ALL")) {
setlocale(LC_ALL, getenv("LC_ALL"));
+ } else {
+ setlocale(LC_ALL, "");
}
}
strncpy_nt(interface, cfg.iface, 32);