summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2021-01-19 13:54:50 +0100
committerMichael Brown2021-01-19 14:01:46 +0100
commit9a341203df7e6c658da970ecd208efdcf7a34570 (patch)
treebdfe46fc1731893c8f7d4d9980d59d870862ff95 /src/config
parent[eap] Treat an EAP Request-Identity as indicating a blocked link (diff)
downloadipxe-9a341203df7e6c658da970ecd208efdcf7a34570.tar.gz
ipxe-9a341203df7e6c658da970ecd208efdcf7a34570.tar.xz
ipxe-9a341203df7e6c658da970ecd208efdcf7a34570.zip
[dhcp] Allow for links that remained blocked for up to three minutes
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>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/dhcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/dhcp.h b/src/config/dhcp.h
index bff5b56d6..adfa74a15 100644
--- a/src/config/dhcp.h
+++ b/src/config/dhcp.h
@@ -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