mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 03:27:25 +00:00
[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:
parent
e54e6e5720
commit
ae128056e9
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user