diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2017-02-23 10:35:48 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-02-23 16:51:34 +0800 |
commit | 625b39ced26e8dd7d2410796a1d84a69d8ec3f9d (patch) | |
tree | c38a9135f44d69f5560f172e96db1842b6467f88 /NetworkPkg/Ip6Dxe | |
parent | 702f2e15562cbc7bf62f38b24fc167843a97ca62 (diff) | |
download | edk2-625b39ced26e8dd7d2410796a1d84a69d8ec3f9d.tar.gz edk2-625b39ced26e8dd7d2410796a1d84a69d8ec3f9d.tar.bz2 edk2-625b39ced26e8dd7d2410796a1d84a69d8ec3f9d.zip |
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>
Diffstat (limited to 'NetworkPkg/Ip6Dxe')
-rw-r--r-- | NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c index e309b69d77..9287475e08 100644 --- a/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c +++ b/NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c @@ -1441,7 +1441,7 @@ Ip6ConfigInitIfInfo ( UnicodeSPrint (
IfInfo->Name,
sizeof (IfInfo->Name),
- L"eth%x",
+ L"eth%d",
IpSb->Ip6ConfigInstance.IfIndex
);
|