summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-10-19 12:29:59 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-10-19 12:29:59 +0000
commiteea3a1534b30f13e057026aacde6b801d9f7cb6c (patch)
tree2b958ba10a6c94a972178cd71282927c2255f648 /usr.sbin
parent3b2b50dae02ff2fc0d5d6d20bda9e89a9ad59832 (diff)
Correct function name in log_debug() messages
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ripd/auth.c4
-rw-r--r--usr.sbin/ripd/packet.c4
-rw-r--r--usr.sbin/ripd/ripe.c5
3 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/ripd/auth.c b/usr.sbin/ripd/auth.c
index ae3a20b5891..a3435691333 100644
--- a/usr.sbin/ripd/auth.c
+++ b/usr.sbin/ripd/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: auth.c,v 1.2 2006/10/19 12:29:58 mcbride Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -215,7 +215,7 @@ auth_add_trailer(struct buf *buf, struct iface *iface)
/* insert plaintext key */
if ((md = md_list_find(&iface->auth_md_list,
iface->auth_keyid)) == NULL) {
- log_debug("auth_validate: keyid %d not configured, "
+ log_debug("auth_add_trailer: keyid %d not configured, "
"interface %s", iface->auth_keyid, iface->name);
return (-1);
}
diff --git a/usr.sbin/ripd/packet.c b/usr.sbin/ripd/packet.c
index 6b812f34ccf..5cbb1e94472 100644
--- a/usr.sbin/ripd/packet.c
+++ b/usr.sbin/ripd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: packet.c,v 1.2 2006/10/19 12:29:58 mcbride Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -220,7 +220,7 @@ int
rip_hdr_sanity_check(struct rip_hdr *rip_hdr)
{
if (rip_hdr->version != RIP_VERSION) {
- log_debug("recv_packet: invalid RIP version %d",
+ log_debug("rip_hdr_sanity_check: invalid RIP version %d",
rip_hdr->version);
return (-1);
}
diff --git a/usr.sbin/ripd/ripe.c b/usr.sbin/ripd/ripe.c
index 3f651bb5411..2da0d3311f3 100644
--- a/usr.sbin/ripd/ripe.c
+++ b/usr.sbin/ripd/ripe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripe.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: ripe.c,v 1.2 2006/10/19 12:29:58 mcbride Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -181,7 +181,8 @@ ripe(struct ripd_conf *xconf, int pipe_parent2ripe[2], int pipe_ripe2rde[2],
LIST_FOREACH(iface, &xconf->iface_list, entry) {
if_init(xconf, iface);
if (if_fsm(iface, IF_EVT_UP))
- log_debug("error starting interface: %s", iface->name);
+ log_debug("ripe: error starting interface: %s",
+ iface->name);
}
evtimer_set(&oeconf->report_timer, report_timer, oeconf);