diff options
-rw-r--r-- | sys/dev/cp/if_cp.c | 6 | ||||
-rw-r--r-- | sys/dev/ctau/if_ct.c | 6 | ||||
-rw-r--r-- | sys/dev/cx/if_cx.c | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index ec9b73e..ace4a29 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -658,7 +658,8 @@ static void cp_tlf (struct sppp *sp) CP_DEBUG2 (d, ("cp_tlf\n")); /* cp_set_dtr (d->chan, 0);*/ /* cp_set_rts (d->chan, 0);*/ - sp->pp_down (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_down (sp); } static void cp_tls (struct sppp *sp) @@ -666,7 +667,8 @@ static void cp_tls (struct sppp *sp) drv_t *d = sp->pp_if.if_softc; CP_DEBUG2 (d, ("cp_tls\n")); - sp->pp_up (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_up (sp); } /* diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 9cc08cd..fe18337 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -875,7 +875,8 @@ static void ct_tlf (struct sppp *sp) CT_DEBUG (d, ("ct_tlf\n")); /* ct_set_dtr (d->chan, 0);*/ /* ct_set_rts (d->chan, 0);*/ - sp->pp_down (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_down (sp); } static void ct_tls (struct sppp *sp) @@ -883,7 +884,8 @@ static void ct_tls (struct sppp *sp) drv_t *d = sp->pp_if.if_softc; CT_DEBUG (d, ("ct_tls\n")); - sp->pp_up (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_up (sp); } /* diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index d72a4f2..889a1f6 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -946,7 +946,8 @@ static void cx_tlf (struct sppp *sp) CX_DEBUG (d, ("cx_tlf\n")); /* cx_set_dtr (d->chan, 0);*/ /* cx_set_rts (d->chan, 0);*/ - sp->pp_down (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_down (sp); } static void cx_tls (struct sppp *sp) @@ -954,7 +955,8 @@ static void cx_tls (struct sppp *sp) drv_t *d = sp->pp_if.if_softc; CX_DEBUG (d, ("cx_tls\n")); - sp->pp_up (sp); + if (!(d->pp.pp_flags & PP_FR) && !(d->pp.pp_if.if_flags & PP_CISCO)) + sp->pp_up (sp); } /* |