b09a9b52d42f08a753c999e43644758020b5fca5
[people/teissler/ipfire-2.x.git] / src / patches / ppp-2.4.6-increase-max-padi-attempts.patch
1 diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
2 index 9ab2eee..86762bd 100644
3 --- a/pppd/plugins/rp-pppoe/pppoe.h
4 +++ b/pppd/plugins/rp-pppoe/pppoe.h
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
10 +#define MAX_PADI_ATTEMPTS 12
11
12 /* Initial timeout for PADO/PADS */
13 #define PADI_TIMEOUT 5