summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-10-27 13:21:24 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-10-27 14:52:28 +0200
commit74add5df17c386bd109ebea7b1dac04d1651ae51 (patch)
tree509609958cfa5390aac0f5a3c4ffb5f1ac3dc8cd
parent78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e (diff)
downloadbird-74add5df17c386bd109ebea7b1dac04d1651ae51.tar
bird-74add5df17c386bd109ebea7b1dac04d1651ae51.zip
Fixes seqnum generation.
Thanks Mohammad Amin Shoaie for notification.
-rw-r--r--proto/ospf/topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 8203e4c..604c8ea 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -150,7 +150,7 @@ get_seqnum(struct top_hash_entry *en)
return LSA_INITSEQNO;
}
- return en->lsa.sn++;
+ return en->lsa.sn + 1;
}