Files
OpenBMC/meta-luxshare/recipes-phosphor/interfaces/bmcweb/0001-Fix-webui-set-static-ip-failed-issue.patch
T
2026-04-23 17:07:55 +08:00

28 lines
1.1 KiB
Diff
Executable File

From fc722c287eb1186d66dc8be949e845decf3588e3 Mon Sep 17 00:00:00 2001
From: roly <Rolyli.Li@luxshare-ict.com>
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