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>
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index c9f6358..3e10599 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -720,10 +720,9 @@
"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) {