summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-05-26 22:55:57 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-05-26 22:55:57 +0000
commit2ff9433608e58d3917c197127343f34e99dcc54e (patch)
treec3e5499e078fa639ec4c066bf26075da5d594338 /usr.sbin/ospfd
parent62bc44776afaf5cde7d61a9d997836e2836cf4a9 (diff)
More usable debug output when originating router lsas.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/ospfe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 300cd939f07..fef77bf639d 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.25 2005/05/26 22:45:00 norby Exp $ */
+/* $OpenBSD: ospfe.c,v 1.26 2005/05/26 22:55:56 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -586,14 +586,14 @@ orig_rtr_lsa(struct area *area)
/* links */
LIST_FOREACH(iface, &area->iface_list, entry) {
- log_debug("orig_rtr_lsa: interface %s", iface->name);
-
if (self == NULL && iface->self != NULL)
self = iface->self;
if (iface->state & IF_STA_DOWN)
continue;
+ log_debug("orig_rtr_lsa: interface %s", iface->name);
+
bzero(&rtr_link, sizeof(rtr_link));
if (iface->state & IF_STA_LOOPBACK) {