diff options
-rw-r--r-- | NetworkPkg/DnsDxe/DnsProtocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/DnsDxe/DnsProtocol.c b/NetworkPkg/DnsDxe/DnsProtocol.c index eafa92984c..70857c2b2f 100644 --- a/NetworkPkg/DnsDxe/DnsProtocol.c +++ b/NetworkPkg/DnsDxe/DnsProtocol.c @@ -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;
}
|