From 4fb5c164068f4ba3c6fdb0363b25ea51b473232c Mon Sep 17 00:00:00 2001 From: Atsushi Murai Date: Mon, 17 Apr 1995 04:21:35 +0000 Subject: Loglevel is a bitmask everywhere except in lqr.c. Reviewed by: Atsushi Murai Submitted by: John Capo --- usr.sbin/ppp/lqr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp') diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c index 3e0bca5ec124..ed375ce220bf 100644 --- a/usr.sbin/ppp/lqr.c +++ b/usr.sbin/ppp/lqr.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id:$ + * $Id: lqr.c,v 1.2 1995/02/26 12:17:39 amurai Exp $ * * o LQR based on RFC1333 * @@ -234,7 +234,7 @@ LqrDump(message, lqr) char *message; struct lqrdata *lqr; { - if (loglevel >= LOG_LQM) { + if (loglevel & (1 << LOG_LQM)) { LogTimeStamp(); logprintf("%s:\n", message); LogTimeStamp(); -- cgit v1.2.3