public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] Adding the MAC in the HTTP Boot Title
@ 2020-12-08 16:22 INDIA\sivaramann
  0 siblings, 0 replies; only message in thread
From: INDIA\sivaramann @ 2020-12-08 16:22 UTC (permalink / raw)
  To: devel

---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-08 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-08 16:22 [PATCH] Adding the MAC in the HTTP Boot Title INDIA\sivaramann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox