summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-03-28 15:38:59 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-03-28 15:38:59 +0000
commitaa64f85d6421fd8a6ca8e665901a12cac2ef7154 (patch)
tree5a4eefe70d50e2f3a0133bd7c2cf66b4f521421f /usr.sbin/ospf6d
parent91157e92d12682ea7f1be828eba50a46886336cd (diff)
Print the correct function name in log_debug().
ok stsp@
Diffstat (limited to 'usr.sbin/ospf6d')
-rw-r--r--usr.sbin/ospf6d/ospf6d.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c
index 867d1861561..7b874ad2b1c 100644
--- a/usr.sbin/ospf6d/ospf6d.c
+++ b/usr.sbin/ospf6d/ospf6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6d.c,v 1.11 2008/12/28 22:05:04 sobrado Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.12 2009/03/28 15:38:58 michele Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -713,7 +713,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)
@@ -727,7 +727,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);
@@ -736,8 +736,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->abr_id = xi->abr_id;