From 702f2e15562cbc7bf62f38b24fc167843a97ca62 Mon Sep 17 00:00:00 2001 From: Zhang Lubo Date: Thu, 23 Feb 2017 10:37:03 +0800 Subject: [PATCH] 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 Cc: Sriram Subramanian Cc: Ye Ting Cc: Fu Siyuan Cc: Wu Jiaxin Reviewed-by: Sriram Subramanian Reviewed-by: Wu Jiaxin Reviewed-by: Fu Siyuan --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c index a6a3da8fe8..504f2477da 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c @@ -1495,7 +1495,7 @@ Ip4Config2InitIfInfo ( UnicodeSPrint ( IfInfo->Name, EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE, - L"eth%x", + L"eth%d", IpSb->Ip4Config2Instance.IfIndex );