Reviewed-by: Fu Siyuan <[email protected]> Please provide more information in the commit log.
> -----Original Message----- > From: Wu, Jiaxin > Sent: Monday, December 25, 2017 1:30 PM > To: [email protected] > Cc: Ye, Ting <[email protected]>; Fu, Siyuan <[email protected]>; > Karunakar P <[email protected]>; Wu, Jiaxin <[email protected]> > Subject: [Patch] NetworkPkg/IScsiDxe: Correct the DnsMode value according > the target info. > > This patch is to resolve the issue recorded @ > https://bugzilla.tianocore.org/show_bug.cgi?id=823. > > Cc: Ye Ting <[email protected]> > Cc: Fu Siyuan <[email protected]> > Cc: Karunakar P <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Wu Jiaxin <[email protected]> > Tested-by: Karunakar P <[email protected]> > --- > NetworkPkg/IScsiDxe/IScsiDhcp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/NetworkPkg/IScsiDxe/IScsiDhcp.c > b/NetworkPkg/IScsiDxe/IScsiDhcp.c > index e6f6972..e343523 100644 > --- a/NetworkPkg/IScsiDxe/IScsiDhcp.c > +++ b/NetworkPkg/IScsiDxe/IScsiDhcp.c > @@ -132,10 +132,11 @@ IScsiDhcpExtractRootPath ( > return EFI_INVALID_PARAMETER; > } > CopyMem (&ConfigNvData->TargetUrl, Field->Str, Field->Len); > ConfigNvData->TargetUrl[Field->Len + 1] = '\0'; > } else { > + ConfigNvData->DnsMode = FALSE; > ZeroMem(ConfigNvData->TargetUrl, sizeof (ConfigNvData->TargetUrl)); > Status = IScsiAsciiStrToIp (Field->Str, IpMode, &Ip); > CopyMem (&ConfigNvData->TargetIp, &Ip, sizeof (EFI_IP_ADDRESS)); > > if (EFI_ERROR (Status)) { > -- > 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

