mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-10 09:18:25 +02:00
ppp: Try longer to connect via PPPoE (60 seconds).
This commit is contained in:
13
src/patches/ppp-2.4.6-increase-max-padi-attempts.patch
Normal file
13
src/patches/ppp-2.4.6-increase-max-padi-attempts.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
|
||||
index 9ab2eee..86762bd 100644
|
||||
--- a/pppd/plugins/rp-pppoe/pppoe.h
|
||||
+++ b/pppd/plugins/rp-pppoe/pppoe.h
|
||||
@@ -148,7 +148,7 @@ extern UINT16_t Eth_PPPOE_Session;
|
||||
#define STATE_TERMINATED 4
|
||||
|
||||
/* How many PADI/PADS attempts? */
|
||||
-#define MAX_PADI_ATTEMPTS 3
|
||||
+#define MAX_PADI_ATTEMPTS 12
|
||||
|
||||
/* Initial timeout for PADO/PADS */
|
||||
#define PADI_TIMEOUT 5
|
||||
Reference in New Issue
Block a user