From: Ondrej Zajicek Date: Thu, 27 Oct 2011 11:21:24 +0000 (+0200) Subject: Fixes seqnum generation. X-Git-Tag: v1.3.5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74add5df17c386bd109ebea7b1dac04d1651ae51;p=thirdparty%2Fbird.git Fixes seqnum generation. Thanks Mohammad Amin Shoaie for notification. --- diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 8203e4c22..604c8ea7b 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; }