[edk2-devel] [PATCH] Adding the MAC in the HTTP Boot Title

INDIA\sivaramann posted 1 patch 3 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/bcdbdf06659c73f9c7038dd7d2b1fbf4a617e075.1607444119.git.sivaramann@ami.com
NetworkPkg/HttpBootDxe/HttpBootConfig.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
[edk2-devel] [PATCH] Adding the MAC in the HTTP Boot Title
Posted by INDIA\sivaramann 3 years, 4 months ago
---
 NetworkPkg/HttpBootDxe/HttpBootConfig.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.c b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
index 646c907b12..677d913a09 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfig.c
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
@@ -629,6 +629,18 @@ HttpBootConfigFormInit (
       NULL
       );
 
+    OldMenuString = HiiGetString (
+                          CallbackInfo->RegisteredHandle, 
+                          STRING_TOKEN (STR_HTTP_BOOT_CONFIG_FORM_TITLE), 
+                          NULL
+                          );
+        UnicodeSPrint (MenuString, 128, L"MAC:%s-%s", MacString,OldMenuString);      
+        HiiSetString (
+          CallbackInfo->RegisteredHandle, 
+          STRING_TOKEN (STR_HTTP_BOOT_CONFIG_FORM_TITLE), 
+          MenuString, 
+          NULL
+          );
     FreePool (MacString);
     FreePool (OldMenuString);
 
-- 
2.28.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68651): https://edk2.groups.io/g/devel/message/68651
Mute This Topic: https://groups.io/mt/78850812/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-