diff options
author | brian <brian@FreeBSD.org> | 1999-03-04 17:42:15 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-03-04 17:42:15 +0000 |
commit | fe992c122ec68c1830ec9832e9f3bf7b23a92ac2 (patch) | |
tree | 25cf953120c74383ddd886c2252439cb3c4f839d /usr.sbin/ppp/bundle.c | |
parent | f14d10621ff9cf650f3ece66fe29e29a0102da0d (diff) | |
download | FreeBSD-src-fe992c122ec68c1830ec9832e9f3bf7b23a92ac2.zip FreeBSD-src-fe992c122ec68c1830ec9832e9f3bf7b23a92ac2.tar.gz |
Extend the ``set redial'' command to allow incremental
redial timeouts.
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index b8162b0..ea8b34a 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.c,v 1.46 1999/02/25 11:59:36 brian Exp $ + * $Id: bundle.c,v 1.47 1999/03/01 00:43:48 brian Exp $ */ #include <sys/param.h> @@ -1139,9 +1139,9 @@ bundle_Open(struct bundle *bundle, const char *name, int mask, int force) if ((mask & dl->physical->type) && (dl->state == DATALINK_CLOSED || (force && dl->state == DATALINK_OPENING && - dl->dial_timer.state == TIMER_RUNNING))) { - if (force) - timer_Stop(&dl->dial_timer); + dl->dial.timer.state == TIMER_RUNNING))) { + if (force) /* Ignore redial timeout ? */ + timer_Stop(&dl->dial.timer); datalink_Up(dl, 1, 1); if (mask == PHYS_AUTO) /* Only one AUTO link at a time (see the AutoLoad timer) */ |