From 74add5df17c386bd109ebea7b1dac04d1651ae51 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 27 Oct 2011 13:21:24 +0200 Subject: Fixes seqnum generation. Thanks Mohammad Amin Shoaie for notification. --- proto/ospf/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 8203e4c2..604c8ea7 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; } -- cgit v1.2.3