diff options
author | amurai <amurai@FreeBSD.org> | 1995-04-17 04:21:35 +0000 |
---|---|---|
committer | amurai <amurai@FreeBSD.org> | 1995-04-17 04:21:35 +0000 |
commit | ac3526bc130801f2c660a332763536f118ae106b (patch) | |
tree | 96566dff1d4fe4caff910b53007b29af25b27d2f | |
parent | 7de0762f0af049a28a489d26ffc17cc5dc0c8ade (diff) | |
download | FreeBSD-src-ac3526bc130801f2c660a332763536f118ae106b.zip FreeBSD-src-ac3526bc130801f2c660a332763536f118ae106b.tar.gz |
Loglevel is a bitmask everywhere except in lqr.c.
Reviewed by: Atsushi Murai <amurai@spec.co.jp>
Submitted by: John Capo <jc@irbs.com>
-rw-r--r-- | usr.sbin/ppp/lqr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c index 3e0bca5..ed375ce 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(); |