Browse Source

Merge svn revision 954 from Zebra cvs.

hasso 15 years ago
parent
commit
6861b307d6
1 changed files with 4 additions and 3 deletions
  1. 4 3
      ospf6d/ospf6_flood.c

+ 4 - 3
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 */