X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Flcp.h;h=2e8144904cab1c29cfbc3d3dc58a7b42e5e97a2b;hp=3712073447bbb949ea07e28f0902d7dff5fb706d;hb=4ffa02f546c16059afd48a31735f00f5c58f3ae0;hpb=a3396b002507d72b3e1f1169bd02ae018539654b diff --git a/pppd/lcp.h b/pppd/lcp.h index 3712073..2e81449 100644 --- a/pppd/lcp.h +++ b/pppd/lcp.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.h,v 1.6 1994/09/21 06:47:37 paulus Exp $ + * $Id: lcp.h,v 1.7 1995/05/19 03:25:53 paulus Exp $ */ /* @@ -83,5 +83,6 @@ void lcp_sprotrej __P((int, u_char *, int)); int lcp_printpkt __P((u_char *, int, void (*) __P((void *, char *, ...)), void *)); -extern int lcp_warnloops; /* Warn about a loopback this often */ -#define DEFWARNLOOPS 10 /* Default value for above */ +/* Default number of times we receive our magic number from the peer + before deciding the link is looped-back. */ +#define DEFLOOPBACKFAIL 5