summaryrefslogtreecommitdiff
path: root/redfish-core/lib/ethernet.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-07-08 22:00:30 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-10 19:48:05 +0300
commit4e0453b11cf4780b06c73643ce31e6bc1809b7cf (patch)
treed8068462a6aae98917036b7084a561a9ac3658fa /redfish-core/lib/ethernet.hpp
parent222f2b7fcaa351f7c5ef7d7d790aace6a3e59d48 (diff)
downloadbmcweb-4e0453b11cf4780b06c73643ce31e6bc1809b7cf.tar.xz
Codespell redfish-core spelling fixes
These spelling errors were found using https://github.com/codespell-project/codespell Tested: Top commit (along with this) was built and ran against validator. Change-Id: Ic9dce27b1de8567eedf7753164ef564d3aedf8ca Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r--redfish-core/lib/ethernet.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index a76b01ba45..b1a9f695bb 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -880,7 +880,7 @@ inline void createIPv6(const std::string& ifaceId, uint8_t prefixLength,
}
};
// Passing null for gateway, as per redfish spec IPv6StaticAddresses object
- // does not have assosiated gateway property
+ // does not have associated gateway property
crow::connections::systemBus->async_method_call(
std::move(createIpHandler), "xyz.openbmc_project.Network",
"/xyz/openbmc_project/network/" + ifaceId,
@@ -936,7 +936,7 @@ void getEthernetIfaceData(const std::string& ethiface_id,
}
extractIPV6Data(ethiface_id, resp, ipv6Data);
- // Finally make a callback with usefull data
+ // Finally make a callback with useful data
callback(true, ethData, ipv4Data, ipv6Data);
},
"xyz.openbmc_project.Network", "/xyz/openbmc_project/network",
@@ -978,7 +978,7 @@ void getEthernetIfaceList(CallbackFunc&& callback)
if (interface.first ==
"xyz.openbmc_project.Network.EthernetInterface")
{
- // Cut out everyting until last "/", ...
+ // Cut out everything until last "/", ...
const std::string& iface_id = objpath.first.str;
std::size_t last_pos = iface_id.rfind("/");
if (last_pos != std::string::npos)