From 2ff9433608e58d3917c197127343f34e99dcc54e Mon Sep 17 00:00:00 2001 From: Esben Norby Date: Thu, 26 May 2005 22:55:57 +0000 Subject: More usable debug output when originating router lsas. --- usr.sbin/ospfd/ospfe.c | 6 +++--- 1 file 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 @@ -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) { -- cgit v1.2.3