ppp: Import some more patches from Fedora.
[people/teissler/ipfire-2.x.git] / src / patches / ppp / ppp-2.4.6-increase-max-padi-attempts.patch
CommitLineData
0a511b76
MT
1diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
2index 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