From fc722c287eb1186d66dc8be949e845decf3588e3 Mon Sep 17 00:00:00 2001 From: roly Date: Tue, 12 Nov 2024 10:28:29 +0800 Subject: [PATCH] Fix webui set static ip failed issue --- redfish-core/lib/ethernet.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp index 8de854f7..1c288e13 100644 --- a/redfish-core/lib/ethernet.hpp +++ b/redfish-core/lib/ethernet.hpp @@ -1415,8 +1415,8 @@ inline void if (nicIpEntry != ipv4Data.cend()) { deleteAndCreateIPAddress(IpVersion::IpV4, ifaceId, - nicIpEntry->id, prefixLength, *gateway, - *address, asyncResp); + nicIpEntry->id, prefixLength, *address, + *gateway, asyncResp); nicIpEntry = getNextStaticIpEntry(++nicIpEntry, ipv4Data.cend()); } -- 2.25.1