summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorhasso <hasso>2004-08-26 18:19:59 +0000
committerhasso <hasso>2004-08-26 18:19:59 +0000
commit6861b307d6fd6d936d699b23ca4fb4c47180e068 (patch)
tree5f0550c15c4f4a25fb9bea4628cf12dbb67090eb /ospf6d
parent69b4a810cd06a623d10678adbfd2d4342ef86547 (diff)
Merge svn revision 954 from Zebra cvs.
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_flood.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospf6d/ospf6_flood.c b/ospf6d/ospf6_flood.c
index 660e6369..ec5c1c68 100644
--- a/ospf6d/ospf6_flood.c
+++ b/ospf6d/ospf6_flood.c
@@ -194,9 +194,10 @@ ospf6_decrement_retrans_count (struct ospf6_lsa *lsa)
orig = ospf6_lsdb_lookup (lsa->header->type, lsa->header->id,
lsa->header->adv_router, lsdb);
if (orig)
- orig->retrans_count--;
-
- assert (orig->retrans_count >= 0);
+ {
+ orig->retrans_count--;
+ assert (orig->retrans_count >= 0);
+ }
}
/* RFC2328 section 13.2 Installing LSAs in the database */