summaryrefslogtreecommitdiff
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 11:27:31 +0000
committerOndrej Filip <feela@network.cz>2000-05-09 11:27:31 +0000
commitb29c620f90d429b868038984a5427470f00aebac (patch)
tree434ab20cff21348474dd444499a1844606f9c252 /proto/ospf/topology.c
parent279a3b76d193944431a992a1ac43543fe15ab903 (diff)
Another bugfix in neighbor state machine.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 4a41e323..81d95785 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;