summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-05-23 20:40:15 +0000
committerjoerg <joerg@FreeBSD.org>1997-05-23 20:40:15 +0000
commitb70226eca11ce5d083793b1706b2e82adfd0ee81 (patch)
tree9b609785a63ec53c7f5f89e7399c6d9b63582ae5 /sys/net
parentf91327ae9852be8d3e6f6829f2c33caaf84d41fd (diff)
downloadFreeBSD-src-b70226eca11ce5d083793b1706b2e82adfd0ee81.zip
FreeBSD-src-b70226eca11ce5d083793b1706b2e82adfd0ee81.tar.gz
Fix a couple of log()'s that came out with the wrong (default)
log level, as opposed to LOG_DEBUG.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 534e8b7..b5eea61 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -17,7 +17,7 @@
*
* From: Version 1.9, Wed Oct 4 18:58:15 MSK 1995
*
- * $Id: if_spppsubr.c,v 1.20 1997/05/20 22:54:04 joerg Exp $
+ * $Id: if_spppsubr.c,v 1.21 1997/05/22 22:15:39 joerg Exp $
*/
#include <sys/param.h>
@@ -1081,9 +1081,9 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
if (rv) {
sppp_cp_change_state(cp, sp, STATE_OPENED);
if (debug)
- addlog("%s%d: %s tlu\n",
- ifp->if_name, ifp->if_unit,
- cp->name);
+ log(LOG_DEBUG, "%s%d: %s tlu\n",
+ ifp->if_name, ifp->if_unit,
+ cp->name);
(cp->tlu)(sp);
} else
sppp_cp_change_state(cp, sp, STATE_ACK_RCVD);
@@ -1733,8 +1733,8 @@ sppp_lcp_RCR(struct sppp *sp, struct lcp_header *h, int len)
* thus require to be nak'ed.
*/
if (debug)
- addlog("%s%d: lcp parse opt values: ",
- ifp->if_name, ifp->if_unit);
+ log(LOG_DEBUG, "%s%d: lcp parse opt values: ",
+ ifp->if_name, ifp->if_unit);
p = (void*) (h+1);
len = origlen;
OpenPOWER on IntegriCloud