diff options
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | 2021-12-03 12:44:36 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-12-10 07:38:17 +0300 |
commit | 7a474a5fa9791424d1258b6f2061e31593bfcd7c (patch) | |
tree | 52cacbaea43ceeee450ebb650a56f9d581e21ad7 /redfish-core/lib/ethernet.hpp | |
parent | 41d61c8281ed9af50630c78f0a646e726139fb25 (diff) | |
download | bmcweb-7a474a5fa9791424d1258b6f2061e31593bfcd7c.tar.xz |
Remove non-standard IPv6StaticAddress properties
AddressOrigin and AddressState are not defined in redfish schema of
IPv6StaticAddress, which causes redfish validator error, so remove
them.
Tested:
Redfish validator passed.
Change-Id: I165f22662cecf25cefb2c0f6ce4777eb681e9b23
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r-- | redfish-core/lib/ethernet.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp index f7fbb9575b..98b556eade 100644 --- a/redfish-core/lib/ethernet.hpp +++ b/redfish-core/lib/ethernet.hpp @@ -1808,9 +1808,7 @@ inline void parseInterfaceData( { ipv6StaticArray.push_back( {{"Address", ipv6Config.address}, - {"PrefixLength", ipv6Config.prefixLength}, - {"AddressOrigin", ipv6Config.origin}, - {"AddressState", nullptr}}); + {"PrefixLength", ipv6Config.prefixLength}}); } } } |