[ospfd] Fix small error in CID #13 commit

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.
This commit is contained in:
Paul Jakma 2006-05-12 23:15:30 +00:00
parent e54e6e5720
commit ae128056e9
2 changed files with 6 additions and 1 deletions

View 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> 2006-05-12 Paul Jakma <paul.jakma@sun.com>
* ospf_lsa.c: (ospf_lsa_action) Get rid of the ospf_lookup * ospf_lsa.c: (ospf_lsa_action) Get rid of the ospf_lookup

View File

@ -2002,7 +2002,7 @@ ospf_translated_nssa_refresh (struct ospf *ospf, struct ospf_lsa *type7,
/* Sanity checks. */ /* Sanity checks. */
assert (type7 || type5); assert (type7 || type5);
if (!type7 || !type5) if (!(type7 || type5))
return NULL; return NULL;
if (type7) if (type7)
assert (type7->data); assert (type7->data);