diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index bfb95e07..078ded3c 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -962,7 +962,7 @@ result_t loadScanConfigFile(MessageMap* messages, symbol_t address, bool verbose prefix.c_str(), getResultCode(result)); auto it = ident.begin(); while (it != ident.end()) { - if (!::isalnum(*it)) { + if (*it != '_' && !::isalnum(*it)) { it = ident.erase(it); } else { *it = static_cast(::tolower(*it));