From 9b84392cce48a8e2ab856876a94a71e9364e57ad Mon Sep 17 00:00:00 2001 From: Michele Marchetto Date: Sun, 1 Mar 2009 16:03:13 +0000 Subject: Print the correct function name in log_debug(). OK claudio@ stsp@ --- usr.sbin/ospfd/ospfd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.sbin') 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 @@ -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; -- cgit v1.2.3