summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-02-25 11:59:36 +0000
committerbrian <brian@FreeBSD.org>1999-02-25 11:59:36 +0000
commit71984e6f4b1ea48af8e90cb055c560c314321c2a (patch)
treedb726b015acddb9db421294b08ef71e68f5e0b97 /usr.sbin/ppp/bundle.c
parent1c1dc9c752500e3a8dc0a9baf287cbfad4f342fc (diff)
downloadFreeBSD-src-71984e6f4b1ea48af8e90cb055c560c314321c2a.zip
FreeBSD-src-71984e6f4b1ea48af8e90cb055c560c314321c2a.tar.gz
Don't immediately bring auto links back up in multilink
mode (when there is more than one auto link) if there is no data queued to go out. Reviewed by: Tom Torrance <tom@tomqnx.com>
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r--usr.sbin/ppp/bundle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 56973fd..6e3e3bd 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.44 1999/01/28 01:56:30 brian Exp $
+ * $Id: bundle.c,v 1.45 1999/02/06 02:54:43 brian Exp $
*/
#include <sys/param.h>
@@ -526,8 +526,8 @@ bundle_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
else if (bundle->autoload.timer.state != TIMER_RUNNING ||
bundle->autoload.comingup)
bundle_StartAutoLoadTimer(bundle, 0);
- } else if (bundle->autoload.timer.state != TIMER_RUNNING ||
- !bundle->autoload.comingup)
+ } else if (queued && (bundle->autoload.timer.state != TIMER_RUNNING ||
+ !bundle->autoload.comingup))
bundle_StartAutoLoadTimer(bundle, 1);
}
OpenPOWER on IntegriCloud