Private->Ip4Nic->Private = Private;\r
Private->Ip4Nic->Signature = PXEBC_VIRTUAL_NIC_SIGNATURE;\r
\r
+ //\r
+ // Locate Ip4->Ip4Config2 and store it for set IPv4 Policy.\r
+ //\r
+ Status = gBS->HandleProtocol (\r
+ ControllerHandle,\r
+ &gEfiIp4Config2ProtocolGuid,\r
+ (VOID **) &Private->Ip4Config2\r
+ );\r
+ if (EFI_ERROR (Status)) {\r
+ goto ON_ERROR;\r
+ }\r
+\r
//\r
// Create a device path node for Ipv4 virtual nic, and append it.\r
//\r