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:
Zhang Lubo 2017-02-23 10:37:03 +08:00 committed by Jiaxin Wu
parent 8d1f5e0416
commit 702f2e1556
1 changed files with 1 additions and 1 deletions

View File

@ -1495,7 +1495,7 @@ Ip4Config2InitIfInfo (
UnicodeSPrint (
IfInfo->Name,
EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE,
L"eth%x",
L"eth%d",
IpSb->Ip4Config2Instance.IfIndex
);