diff options
author | 2009-03-01 16:03:12 +0000 | |
---|---|---|
committer | 2009-03-01 16:03:12 +0000 | |
commit | 644f0a524ace15344d71282a315c16b91e19a843 (patch) | |
tree | 122e4e073fa10a1d888daf32358c2e37055bfcb4 | |
parent | - add missing letoh32 (diff) | |
download | wireguard-openbsd-644f0a524ace15344d71282a315c16b91e19a843.tar.xz wireguard-openbsd-644f0a524ace15344d71282a315c16b91e19a843.zip |
Print the correct function name in log_debug().
OK claudio@ stsp@
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 10 |
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; |