diff options
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)) |