Skip to content

Commit

Permalink
Merge pull request #681 from mjwaxios/master
Browse files Browse the repository at this point in the history
Fixed DHCP problem that broke when fast retry was added.
  • Loading branch information
dcbw authored Jan 19, 2022
2 parents cc32993 + 1324428 commit 135eb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ipam/dhcp/lease.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func backoffRetry(resendMax time.Duration, f func() (*dhcp4.Packet, error)) (*dh
// only adjust delay time if we are in normal backoff stage
if baseDelay < resendMax && fastRetryLimit == 0 {
baseDelay *= 2
} else {
} else if fastRetryLimit == 0 { // only break if we are at normal delay
break
}
}
Expand Down

0 comments on commit 135eb1d

Please # to comment.