diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2017-02-23 10:37:03 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-02-23 16:51:15 +0800 |
commit | 702f2e15562cbc7bf62f38b24fc167843a97ca62 (patch) | |
tree | 04a0b823ae0f6c9920e0189282a40a55cf3d2552 /MdeModulePkg/Universal | |
parent | 8d1f5e04168c1f140cd421fd95cff516a3629b72 (diff) | |
download | edk2-platforms-702f2e15562cbc7bf62f38b24fc167843a97ca62.tar.xz |
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>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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
);
|