diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2020-05-16 22:22:18 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-16 22:22:18 +0300 |
commit | 38268fa8af4964312062bd92156ab87637f82e71 (patch) | |
tree | c3c8d027f296f56bb274179a7d4d23b4e4f06c50 /include/sessions.hpp | |
parent | 7f2e23e9d4fd2ee6c41811f4d3f2c839fc65e8d0 (diff) | |
download | bmcweb-38268fa8af4964312062bd92156ab87637f82e71.tar.xz |
vlan id should be 32 bit
Upstream yocto appears to bring in a new compiler which is flagging the
inconsistency of the VLAN ID data type and failing to compile bmcweb
because of it.
The redfish specification lists the datatype for VLANId as a integer
that can range from 0-4094.
Here's the error:
/lib/ethernet.hpp:2221:58: error: no matching function for call to 'std::variant<unsigned int>::variant(uint64_t&)'
| 2221 | std::variant<uint32_t>(vlanId));
Change-Id: Ic92ad6518a9529f5099a1eaf1250df106119d319
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'include/sessions.hpp')
0 files changed, 0 insertions, 0 deletions