]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Merge svn revision 954 from Zebra cvs.
authorhasso <hasso>
Thu, 26 Aug 2004 18:19:59 +0000 (18:19 +0000)
committerhasso <hasso>
Thu, 26 Aug 2004 18:19:59 +0000 (18:19 +0000)
ospf6d/ospf6_flood.c

index 660e63695b7a92112313c98dc8e2e8fc65f2a909..ec5c1c6833fa927bc6d6b9282fbbd032d3a3fa2f 100644 (file)
@@ -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 */