mirror of https://github.com/acidanthera/audk.git
Co-work with patch V11137 to refine the Hii menu.
1. Move the Mac address string from the form title to form title help for the driver Ipv6 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11139 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c7f204dba4
commit
e07404fe3c
|
@ -2016,20 +2016,20 @@ Ip6ConfigFormInit (
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
OldMenuString = HiiGetString (
|
OldMenuString = HiiGetString (
|
||||||
CallbackInfo->RegisteredHandle,
|
CallbackInfo->RegisteredHandle,
|
||||||
STRING_TOKEN (STR_IP6_CONFIG_FORM_TITLE),
|
STRING_TOKEN (STR_IP6_CONFIG_FORM_HELP),
|
||||||
NULL)
|
NULL)
|
||||||
;
|
;
|
||||||
UnicodeSPrint (MenuString, 128, L"%s (MAC:%s)", OldMenuString, MacString);
|
UnicodeSPrint (MenuString, 128, L"%s (MAC:%s)", OldMenuString, MacString);
|
||||||
HiiSetString (
|
HiiSetString (
|
||||||
CallbackInfo->RegisteredHandle,
|
CallbackInfo->RegisteredHandle,
|
||||||
STRING_TOKEN (STR_IP6_CONFIG_FORM_TITLE),
|
STRING_TOKEN (STR_IP6_CONFIG_FORM_HELP),
|
||||||
MenuString,
|
MenuString,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
UnicodeSPrint (PortString, 128, L"MAC:%s", MacString);
|
UnicodeSPrint (PortString, 128, L"MAC:%s", MacString);
|
||||||
HiiSetString (
|
HiiSetString (
|
||||||
CallbackInfo->RegisteredHandle,
|
CallbackInfo->RegisteredHandle,
|
||||||
STRING_TOKEN (STR_IP6_DEVICE_FORM_TITLE),
|
STRING_TOKEN (STR_IP6_DEVICE_FORM_HELP),
|
||||||
PortString,
|
PortString,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue