summaryrefslogtreecommitdiffstats
path: root/transporthandler.cpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-04-08 16:35:25 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-04-18 16:56:36 -0500
commitc9fa69ef08e3eeb8e239f68d21419875b32917ae (patch)
tree3c920b90abc4dd74e64de6ea6e099fbd36eee110 /transporthandler.cpp
parent2fa0e702a482aa0fbec0c26f58ae1b7d8799b392 (diff)
downloadphosphor-host-ipmid-c9fa69ef08e3eeb8e239f68d21419875b32917ae.tar.gz
phosphor-host-ipmid-c9fa69ef08e3eeb8e239f68d21419875b32917ae.zip
Grammar and 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. Some additional grammar and capitalization errors were fixed as well. Change-Id: I700db4e6d7ba52b02374c9c3e84be0af8bd91859 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'transporthandler.cpp')
-rw-r--r--transporthandler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/transporthandler.cpp b/transporthandler.cpp
index b33dc7d..bafeb16 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -93,8 +93,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
ipaddress = properties["Address"].get<std::string>();
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do.
@@ -212,8 +212,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
mask = ipmi::network::MASK_32_BIT;
mask = htonl(mask << (ipmi::network::BITS_32 - prefix));
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
@@ -251,8 +251,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
gateway = systemProperties["DefaultGateway"].get<
std::string>();
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
@@ -329,8 +329,8 @@ ipmi_ret_t getNetworkData(uint8_t lan_param, uint8_t* data, int channel)
vlanID |= htole16(ipmi::network::VLAN_ENABLE_MASK);
}
}
- // ignore the exception, as it is a valid condtion that
- // system is not confiured with any ip.
+ // ignore the exception, as it is a valid condition that
+ // the system is not configured with any IP.
catch (InternalFailure& e)
{
// nothing to do
OpenPOWER on IntegriCloud