From: "INDIA\\sivaramann" <emergingsiva@gmail.com>
To: devel@edk2.groups.io
Subject: [PATCH] Adding the MAC in the HTTP Boot Title
Date: Tue, 8 Dec 2020 21:52:34 +0530 [thread overview]
Message-ID: <bcdbdf06659c73f9c7038dd7d2b1fbf4a617e075.1607444119.git.sivaramann@ami.com> (raw)
---
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
reply other threads:[~2020-12-08 16:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bcdbdf06659c73f9c7038dd7d2b1fbf4a617e075.1607444119.git.sivaramann@ami.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox