summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 0edd3d7edd7..06cdcef41df 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.39 2006/03/04 22:40:16 brad Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.40 2006/07/02 11:01:06 reyk Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -1130,7 +1130,7 @@ sppp_cisco_input(struct sppp *sp, struct mbuf *m)
if (! (ifp->if_flags & IFF_UP) &&
(ifp->if_flags & IFF_RUNNING)) {
if_up(ifp);
- printf (SPP_FMT "up\n", SPP_ARGS(ifp));
+ log(LOG_INFO, SPP_FMT "up\n", SPP_ARGS(ifp));
}
break;
case CISCO_ADDR_REQ:
@@ -2378,7 +2378,7 @@ sppp_lcp_tlu(struct sppp *sp)
(ifp->if_flags & IFF_RUNNING)) {
/* Coming out of loopback mode. */
if_up(ifp);
- printf (SPP_FMT "up\n", SPP_ARGS(ifp));
+ log(LOG_INFO, SPP_FMT "up\n", SPP_ARGS(ifp));
}
for (i = 0; i < IDX_COUNT; i++)