summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-03-01 16:03:13 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-03-01 16:03:13 +0000
commit9b84392cce48a8e2ab856876a94a71e9364e57ad (patch)
treec486a16129d61f3f8e19d838dfff0f2baaebad0e /usr.sbin
parent967842949fe40a3a25d22769dd57c9147f45fb31 (diff)
Print the correct function name in log_debug().
OK claudio@ stsp@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/ospfd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c
index 622bdccf745..613d3db4001 100644
--- a/usr.sbin/ospfd/ospfd.c
+++ b/usr.sbin/ospfd/ospfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.c,v 1.60 2009/01/07 21:16:36 claudio Exp $ */
+/* $OpenBSD: ospfd.c,v 1.61 2009/03/01 16:03:12 michele Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -792,7 +792,7 @@ merge_interfaces(struct area *a, struct area *xa)
for (i = LIST_FIRST(&a->iface_list); i != NULL; i = ni) {
ni = LIST_NEXT(i, entry);
if (iface_lookup(xa, i) == NULL) {
- log_debug("merge_config: proc %d area %s removing "
+ log_debug("merge_interfaces: proc %d area %s removing "
"interface %s", ospfd_process, inet_ntoa(a->id),
i->name);
if (ospfd_process == PROC_OSPF_ENGINE)
@@ -806,7 +806,7 @@ merge_interfaces(struct area *a, struct area *xa)
ni = LIST_NEXT(xi, entry);
if ((i = iface_lookup(a, xi)) == NULL) {
/* new interface but delay initialisation */
- log_debug("merge_config: proc %d area %s adding "
+ log_debug("merge_interfaces: proc %d area %s adding "
"interface %s", ospfd_process, inet_ntoa(a->id),
xi->name);
LIST_REMOVE(xi, entry);
@@ -816,8 +816,8 @@ merge_interfaces(struct area *a, struct area *xa)
xi->state = IF_STA_NEW;
continue;
}
- log_debug("merge_config: proc %d area %s merging interface %s",
- ospfd_process, inet_ntoa(a->id), i->name);
+ log_debug("merge_interfaces: proc %d area %s merging "
+ "interface %s", ospfd_process, inet_ntoa(a->id), i->name);
i->addr = xi->addr;
i->dst = xi->dst;
i->mask = xi->mask;