diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_spppsubr.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 6639234e5ca..2d7cbcffd00 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.30 2005/04/01 22:09:32 canacar Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.31 2005/04/11 17:24:10 canacar Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -1917,6 +1917,9 @@ sppp_lcp_up(struct sppp *sp) STDDCL; struct timeval tv; + if (ifp->if_flags & PP_CISCO) + return; + sp->pp_alivecnt = 0; sp->lcp.opts = (1 << LCP_OPT_MAGIC); sp->lcp.magic = 0; @@ -1957,6 +1960,9 @@ sppp_lcp_down(struct sppp *sp) { STDDCL; + if (ifp->if_flags & PP_CISCO) + return; + sppp_down_event(&lcp, sp); /* |