diff options
| author | Roman Kurakin <rik@FreeBSD.org> | 2004-06-25 10:25:33 +0000 |
|---|---|---|
| committer | Roman Kurakin <rik@FreeBSD.org> | 2004-06-25 10:25:33 +0000 |
| commit | 1127aac31e5897e9bd1e8f7159b0869452acbd5a (patch) | |
| tree | 3feaacff3f45c3886335db59bcfadd493da5ea15 | |
| parent | e77b206f0e0e538f2e62152ebf19aa91068421ca (diff) | |
Notes
| -rw-r--r-- | sys/net/if_spppsubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index d086f14ab998..08211725194f 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -2381,7 +2381,8 @@ sppp_lcp_RCR(struct sppp *sp, struct lcp_header *h, int len) lcp.Down(sp); lcp.Up(sp); } - } else if (++sp->fail_counter[IDX_LCP] >= sp->lcp.max_failure) { + } else if (!sp->pp_loopcnt && + ++sp->fail_counter[IDX_LCP] >= sp->lcp.max_failure) { if (debug) log(-1, " max_failure (%d) exceeded, " "send conf-rej\n", |
