summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-11-19 13:46:21 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-11-19 13:46:21 +0100
commit391931d45686a807d322878d4b3d5c9634e2dbca (patch)
tree73916db85f6b68eabb5000fdcfe19ade4e7954f3 /proto/ospf/ospf.c
parent79f561a173c9ceb824d64aa32d82e43ba62acebc (diff)
downloadbird-391931d45686a807d322878d4b3d5c9634e2dbca.tar
bird-391931d45686a807d322878d4b3d5c9634e2dbca.zip
Minor finalizations of link state checks.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index d9d8b7c..026d975 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -759,12 +759,12 @@ ospf_reconfigure(struct proto *p, struct proto_config *c)
}
/* LINK */
- if (oldip->use_link != newip->use_link)
+ if (oldip->check_link != newip->check_link)
{
- ifa->use_link = newip->use_link;
+ ifa->check_link = newip->check_link;
if (!(ifa->iface->flags & IF_LINK_UP))
- ospf_iface_sm(ifa, ifa->use_link ? ISM_LOOP : ISM_UNLOOP);
+ ospf_iface_sm(ifa, ifa->check_link ? ISM_LOOP : ISM_UNLOOP);
}
/* strict nbma */