mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Update the Ethernet interface name.
Update the interface name from ethA ethB to eth10, eth11 etc if port number more than 9. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Cc: Sriram Subramanian <sriram-s@hpe.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
This commit is contained in:
parent
8d1f5e0416
commit
702f2e1556
|
@ -1495,7 +1495,7 @@ Ip4Config2InitIfInfo (
|
|||
UnicodeSPrint (
|
||||
IfInfo->Name,
|
||||
EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE,
|
||||
L"eth%x",
|
||||
L"eth%d",
|
||||
IpSb->Ip4Config2Instance.IfIndex
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue