Hi,

I found an inconsistency between UEFI specifcation (v2.7) and EDK2 source. The
"RouteTableSize" defined in EFI_IP4_CONFIG2_INTERFACE_INFO is "Size of the
following RouteTable , in bytes. May be zero". The related definition can be
found in p.1693 of v2.7 specification.

However, the edk2 seems to implement it as "number of route table entries in
the following RouteTable.", likely to follow the same defintion of "RouteCount"
of EFI_IP6_CONFIG_INTERFACE_INFO.

https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c#L1098
https://github.com/tianocore/edk2/blob/master/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ifconfig.c#L646

Not sure if I was mistaken, anyone here please help to clarify ?

Thanks,
Michael
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to