]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
ppp: update to 2.4.9
[ipfire-2.x.git] / src / patches / ppp / ppp-2.4.6-increase-max-padi-attempts.patch
CommitLineData
0cd9215b 1diff --git a/pppd/plugins/pppoe/pppoe.h b/pppd/plugins/pppoe/pppoe.h
0a511b76 2index 9ab2eee..86762bd 100644
0cd9215b
PM
3--- a/pppd/plugins/pppoe/pppoe.h
4+++ b/pppd/plugins/pppoe/pppoe.h
0a511b76
MT
5@@ -148,7 +148,7 @@ extern UINT16_t Eth_PPPOE_Session;
6 #define STATE_TERMINATED 4
7
8 /* How many PADI/PADS attempts? */
9-#define MAX_PADI_ATTEMPTS 3
f2a7c1f5 10+#define MAX_PADI_ATTEMPTS 4
0a511b76
MT
11
12 /* Initial timeout for PADO/PADS */
13 #define PADI_TIMEOUT 5