From 6384c7d7aa85d1e593eca30cda48f6677b023cb0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 2 May 2010 19:58:34 +0200 Subject: OSPF: most of summary LSA orig./flush logic rewritten. Fixes many bugs in the old code and makes it much cleaner. --- proto/ospf/iface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proto/ospf/iface.c') diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 6faed3a..ae7b80c 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -236,11 +236,11 @@ ospf_iface_down(struct ospf_iface *ifa) struct proto *p = &po->proto; struct ospf_iface *iff; - OSPF_TRACE(D_EVENTS, "Removing interface %s", ifa->iface->name); - - /* First of all kill all the related vlinks */ if (ifa->type != OSPF_IT_VLINK) { + OSPF_TRACE(D_EVENTS, "Removing interface %s", ifa->iface->name); + + /* First of all kill all the related vlinks */ WALK_LIST(iff, po->iface_list) { if ((iff->type == OSPF_IT_VLINK) && (iff->vifa == ifa)) -- cgit v1.2.3