summaryrefslogtreecommitdiffstats
path: root/sys/dev/ctau/if_ct.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ctau/if_ct.c')
-rw-r--r--sys/dev/ctau/if_ct.c6
1 files changed, 4 insertions, 2 deletions
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);
}
/*
OpenPOWER on IntegriCloud