]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes seqnum generation.
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 27 Oct 2011 11:21:24 +0000 (13:21 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 27 Oct 2011 12:52:28 +0000 (14:52 +0200)
Thanks Mohammad Amin Shoaie for notification.

proto/ospf/topology.c

index 8203e4c22d057cc29110f8957626e218cacc3a4b..604c8ea7b7e661406db97a7620e017c0c2d12539 100644 (file)
@@ -150,7 +150,7 @@ get_seqnum(struct top_hash_entry *en)
     return LSA_INITSEQNO;
   }
 
-  return en->lsa.sn++;
+  return en->lsa.sn + 1;
 }