From b29c620f90d429b868038984a5427470f00aebac Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 9 May 2000 11:27:31 +0000 Subject: Another bugfix in neighbor state machine. --- proto/ospf/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/topology.c') diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 4a41e32..81d9578 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -284,11 +284,11 @@ originate_net_lsa(struct ospf_iface *ifa, struct proto_ospf *po) struct top_hash_entry *en; void *body; - DBG("%s: Originating Net lsa for iface \"%s\".\n", po->proto.name, ifa->iface->name); - DBG("%s: State is:\"%u\" Fadj=%u.\n", po->proto.name, ifa->state,ifa->fadj); if(ifa->state!=OSPF_IS_DR) return; + DBG("%s: Originating Net lsa for iface \"%s\".\n", po->proto.name, ifa->iface->name); + if(ifa->fadj==0) { if(ifa->nlsa==NULL) return; -- cgit v1.2.3