]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Update the Ethernet interface name.
authorZhang Lubo <lubo.zhang@intel.com>
Thu, 23 Feb 2017 02:35:48 +0000 (10:35 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Thu, 23 Feb 2017 08:51:34 +0000 (16:51 +0800)
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>
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c

index e309b69d775d4cdb9cdd05b94f3589d9d7cc6d72..9287475e087a40da9cf157769c659fbfd91ab81b 100644 (file)
@@ -1441,7 +1441,7 @@ Ip6ConfigInitIfInfo (
   UnicodeSPrint (\r
     IfInfo->Name,\r
     sizeof (IfInfo->Name),\r
-    L"eth%x",\r
+    L"eth%d",\r
     IpSb->Ip6ConfigInstance.IfIndex\r
   );\r
 \r