]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[dhcp] Allow for links that remained blocked for up to three minutes
authorMichael Brown <mcb30@ipxe.org>
Tue, 19 Jan 2021 12:54:50 +0000 (12:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 19 Jan 2021 13:01:46 +0000 (13:01 +0000)
With the default timeouts for Cisco MAC Authentication Bypass, the
link will remain blocked for around 90 seconds (plus a likely
subsequent delay for STP).

Extend the maximum number of DHCP discovery deferrals to allow for up
to three minutes of waiting for a link to become unblocked.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/dhcp.h

index bff5b56d63c1cd00930ff178d18eb49208d3283b..adfa74a153f5183a4d05b3c2731e7cbce5463bf0 100644 (file)
@@ -28,7 +28,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  * Maximum number of discovery deferrals due to blocked links
  * (e.g. from non-forwarding STP ports)
  */
-#define DHCP_DISC_MAX_DEFERRALS                60
+#define DHCP_DISC_MAX_DEFERRALS                180
 
 /*
  * ProxyDHCP offers are given precedence by continue to wait for them