diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2021-04-12 23:44:23 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2021-04-13 04:03:51 +0300 |
commit | 244b6d5b9779ef09d5b359befaa2180acb4afd4a (patch) | |
tree | 6142450a4ce22bfc886ef06d1842689c4ca99b88 /redfish-core/lib/ethernet.hpp | |
parent | 9010ec2e1dd5f8ad5edb61281b45019f2ea02eaa (diff) | |
download | bmcweb-244b6d5b9779ef09d5b359befaa2180acb4afd4a.tar.xz |
Fix missed bmcweb::AsyncResp
8d1b46d7 moves bmcweb to using AsyncResp everywhere, and not have
each individual handler creating its own object.
9010ec2e should not have been merged yet. This fixes a miss in the
review.
Tested: Built and validator passes.
From webui-vue, changed the IP Address.
Change-Id: I04b070ed61b788fa87e9d6fddede502701e9742d
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r-- | redfish-core/lib/ethernet.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp index c9f6358346..3e10599ae0 100644 --- a/redfish-core/lib/ethernet.hpp +++ b/redfish-core/lib/ethernet.hpp @@ -720,10 +720,9 @@ inline void deleteIPv4(const std::string& ifaceId, const std::string& ipHash, "xyz.openbmc_project.Object.Delete", "Delete"); } -inline void - updateIPv4DefaultGateway(const std::string& ifaceId, - const std::string& gateway, - const std::shared_ptr<AsyncResp>& asyncResp) +inline void updateIPv4DefaultGateway( + const std::string& ifaceId, const std::string& gateway, + const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { crow::connections::systemBus->async_method_call( [asyncResp](const boost::system::error_code ec) { |