diff options
Diffstat (limited to 'redfish-core/lib/ethernet.hpp')
-rw-r--r-- | redfish-core/lib/ethernet.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp index 80da49bda9..099aab83f9 100644 --- a/redfish-core/lib/ethernet.hpp +++ b/redfish-core/lib/ethernet.hpp @@ -254,8 +254,8 @@ inline bool extractEthernetInterfaceData( } else if (propertyPair.first == "MTU") { - const uint32_t* mtuSize = - std::get_if<uint32_t>(&propertyPair.second); + const size_t* mtuSize = + std::get_if<size_t>(&propertyPair.second); if (mtuSize != nullptr) { ethData.mtuSize = *mtuSize; |