NetworkPkg: 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:35:48 +08:00 committed by Jiaxin Wu
parent 702f2e1556
commit 625b39ced2
1 changed files with 1 additions and 1 deletions

View File

@ -1441,7 +1441,7 @@ Ip6ConfigInitIfInfo (
UnicodeSPrint (
IfInfo->Name,
sizeof (IfInfo->Name),
L"eth%x",
L"eth%d",
IpSb->Ip6ConfigInstance.IfIndex
);