Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: I8da47d0cc4531fe83cf09ed311bea35014f05659
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/snmp_conf_manager.cpp b/snmp_conf_manager.cpp
index 831fd4b..d2d5d8f 100644
--- a/snmp_conf_manager.cpp
+++ b/snmp_conf_manager.cpp
@@ -87,7 +87,7 @@
// remove the persistent file
fs::path fileName = dbusPersistentLocation;
fileName /=
- it->second->address() + SEPRATOR + std::to_string(it->second->port());
+ it->second->address() + SEPARATOR + std::to_string(it->second->port());
if (fs::exists(fileName))
{
@@ -124,7 +124,7 @@
}
auto managerID = confFile.path().filename().string();
- auto pos = managerID.find(SEPRATOR);
+ auto pos = managerID.find(SEPARATOR);
auto ipaddress = managerID.substr(0, pos);
auto port_str = managerID.substr(pos + 1);
uint16_t port = stoi(port_str, nullptr);