diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-27 13:21:24 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-27 14:52:28 +0200 |
commit | 74add5df17c386bd109ebea7b1dac04d1651ae51 (patch) | |
tree | 509609958cfa5390aac0f5a3c4ffb5f1ac3dc8cd | |
parent | 78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e (diff) | |
download | bird-74add5df17c386bd109ebea7b1dac04d1651ae51.tar bird-74add5df17c386bd109ebea7b1dac04d1651ae51.zip |
Fixes seqnum generation.
Thanks Mohammad Amin Shoaie for notification.
-rw-r--r-- | proto/ospf/topology.c | 2 |
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; } |