From b659408b933f40765960e877de3e1f8ceaab52cb Mon Sep 17 00:00:00 2001 From: Zhang Lubo Date: Mon, 9 Nov 2015 03:30:42 +0000 Subject: NetworkPkg:Enable Http Boot over Ipv6 stack Add new features to support Http boot over ipv6 stack. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo Reviewed-by: Fu Siyuan Reviewed-by: Ye Ting Reviewed-by: Wu Jiaxin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18743 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/HttpBootDxe/HttpBootComponentName.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'NetworkPkg/HttpBootDxe/HttpBootComponentName.c') diff --git a/NetworkPkg/HttpBootDxe/HttpBootComponentName.c b/NetworkPkg/HttpBootDxe/HttpBootComponentName.c index 0708598c4f..2c39089da3 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootComponentName.c +++ b/NetworkPkg/HttpBootDxe/HttpBootComponentName.c @@ -151,7 +151,10 @@ HttpBootDxeComponentNameGetControllerName ( NicHandle = HttpBootGetNicByIp4Children (ControllerHandle); if (NicHandle == NULL) { - return EFI_UNSUPPORTED; + NicHandle = HttpBootGetNicByIp6Children(ControllerHandle); + if (NicHandle == NULL) { + return EFI_UNSUPPORTED; + } } // -- cgit v1.2.3