mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
702f2e1556
commit
625b39ced2
@ -1441,7 +1441,7 @@ Ip6ConfigInitIfInfo (
|
||||
UnicodeSPrint (
|
||||
IfInfo->Name,
|
||||
sizeof (IfInfo->Name),
|
||||
L"eth%x",
|
||||
L"eth%d",
|
||||
IpSb->Ip6ConfigInstance.IfIndex
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user