1. Fix bugs for PXE-IPv6 to accommodate the situation:
1.1 Proxy DHCP6 service and DHCP6 service on different servers. 1.2 Proxy DHCP6 server with Response Delay setting. 2. Update to support percent-encoding in NBP file name in netboot6 BootFileURL. Signed-off-by: hhuan13 Reviewed-by: xdu2, tye git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12122 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -2817,7 +2817,7 @@ Dhcp6OnTimerTick (
|
||||
//
|
||||
// Handle the first rt in the transmission of solicit specially.
|
||||
//
|
||||
if (TxCb->RetryCnt == 0 && TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgSolicit) {
|
||||
if ((TxCb->RetryCnt == 0 || TxCb->SolicitRetry) && TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgSolicit) {
|
||||
if (Instance->AdSelect == NULL) {
|
||||
//
|
||||
// Set adpref as 0xff here to indicate select any advertisement
|
||||
@@ -2893,6 +2893,10 @@ Dhcp6OnTimerTick (
|
||||
// Retransmit the last sent packet again.
|
||||
//
|
||||
Dhcp6TransmitPacket (Instance, TxCb->TxPacket, TxCb->Elapsed);
|
||||
TxCb->SolicitRetry = FALSE;
|
||||
if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgSolicit) {
|
||||
TxCb->SolicitRetry = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user