diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
commit | 6384c7d7aa85d1e593eca30cda48f6677b023cb0 (patch) | |
tree | 6c926854e331ab87fe98d6dca9c95c708843a086 /proto/ospf/iface.c | |
parent | ba321706578de8402d50214a9e79a65835cdd821 (diff) | |
download | bird-6384c7d7aa85d1e593eca30cda48f6677b023cb0.tar bird-6384c7d7aa85d1e593eca30cda48f6677b023cb0.zip |
OSPF: most of summary LSA orig./flush logic rewritten.
Fixes many bugs in the old code and makes it much cleaner.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r-- | proto/ospf/iface.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)) |