]> git.puffer.fish Git - mirror/frr.git/commitdiff
[ospfd] Fix small error in CID #13 commit
authorPaul Jakma <paul.jakma@sun.com>
Fri, 12 May 2006 23:15:30 +0000 (23:15 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Fri, 12 May 2006 23:15:30 +0000 (23:15 +0000)
2006-05-13 Paul Jakma <paul.jakma@sun.com>

* ospf_lsa.c: (ospf_translated_nssa_refresh) fix the sanity
  check to match the assert, small error in CID #13 fix.

ospfd/ChangeLog
ospfd/ospf_lsa.c

index 96162b0489ee06a0b5ab84997a79e6c0b29e935a..4749618d2f5031fd2037167eafb685379bc4ed14 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-13 Paul Jakma <paul.jakma@sun.com>
+
+       * ospf_lsa.c: (ospf_translated_nssa_refresh) fix the sanity
+         check to match the assert, small error in CID #13 fix.
+
 2006-05-12 Paul Jakma <paul.jakma@sun.com>
 
        * ospf_lsa.c: (ospf_lsa_action) Get rid of the ospf_lookup
index d2f593e516e54c8263fcf72ed97fc0993afbaa9e..7c3be3d6c4940f54a123f940ce1efad013bec9b5 100644 (file)
@@ -2002,7 +2002,7 @@ ospf_translated_nssa_refresh (struct ospf *ospf, struct ospf_lsa *type7,
   
   /* Sanity checks. */
   assert (type7 || type5);
-  if (!type7 || !type5)
+  if (!(type7 || type5))
     return NULL;
   if (type7)
     assert (type7->data);