ppp: update to version 2.4.7.git-2019-10-04
[openwrt/openwrt.git] / package / network / services / ppp / patches / 121-debian_adaptive_lcp_echo.patch
index 5a8e5861a4f26a3914378320a3f8d9ead8569c9d..5d47952bc7dd2d77459b07a66d6f8c826b00b2ea 100644 (file)
@@ -1,6 +1,6 @@
 --- a/pppd/lcp.c
 +++ b/pppd/lcp.c
-@@ -73,6 +73,7 @@ static void lcp_delayed_up __P((void *))
+@@ -72,6 +72,7 @@ static void lcp_delayed_up __P((void *))
   */
  int   lcp_echo_interval = 0;  /* Interval between LCP echo-requests */
  int   lcp_echo_fails = 0;     /* Tolerance to unanswered echo-requests */
@@ -8,7 +8,7 @@
  bool  lax_recv = 0;           /* accept control chars in asyncmap */
  bool  noendpoint = 0;         /* don't send/accept endpoint discriminator */
  
-@@ -151,6 +152,8 @@ static option_t lcp_option_list[] = {
+@@ -150,6 +151,8 @@ static option_t lcp_option_list[] = {
        OPT_PRIO },
      { "lcp-echo-interval", o_int, &lcp_echo_interval,
        "Set time in seconds between LCP echo requests", OPT_PRIO },
@@ -17,7 +17,7 @@
      { "lcp-restart", o_int, &lcp_fsm[0].timeouttime,
        "Set time in seconds between LCP retransmissions", OPT_PRIO },
      { "lcp-max-terminate", o_int, &lcp_fsm[0].maxtermtransmits,
-@@ -2331,6 +2334,22 @@ LcpSendEchoRequest (f)
+@@ -2330,6 +2333,22 @@ LcpSendEchoRequest (f)
        }
      }