diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-05-12 23:15:30 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-05-12 23:15:30 +0000 |
commit | ae128056e9bb1b52e3b6c3263f5f7fd83efa5c3a (patch) | |
tree | 1825628cbfa71ec05ebb8a8162e20a08092922c8 | |
parent | e54e6e57205df19efe3023526b7eb53a9d06fa93 (diff) |
[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.
-rw-r--r-- | ospfd/ChangeLog | 5 | ||||
-rw-r--r-- | ospfd/ospf_lsa.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 96162b04..4749618d 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -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 diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index d2f593e5..7c3be3d6 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -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); |