mirror of https://github.com/acidanthera/audk.git
NetworkPkg: Add the unspecified address check for DNS6 StationIp.
Add the unspecified address check for DNS6 StationIp, so the underlying driver will choose the source address. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18017 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
547a650793
commit
90ae1f0270
|
@ -874,7 +874,7 @@ Dns6Configure (
|
|||
//
|
||||
// Configure the parameters for new operation.
|
||||
//
|
||||
if (!NetIp6IsValidUnicast (&DnsConfigData->StationIp)) {
|
||||
if (!NetIp6IsUnspecifiedAddr (&DnsConfigData->StationIp) && !NetIp6IsValidUnicast (&DnsConfigData->StationIp)) {
|
||||
Status = EFI_INVALID_PARAMETER;
|
||||
goto ON_EXIT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue