From: Paul Jakma Date: Fri, 12 May 2006 23:15:30 +0000 (+0000) Subject: [ospfd] Fix small error in CID #13 commit X-Git-Tag: frr-2.0-rc1~2706 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ae128056e9bb1b52e3b6c3263f5f7fd83efa5c3a;p=mirror%2Ffrr.git [ospfd] Fix small error in CID #13 commit 2006-05-13 Paul Jakma * ospf_lsa.c: (ospf_translated_nssa_refresh) fix the sanity check to match the assert, small error in CID #13 fix. --- diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 96162b0489..4749618d2f 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-13 Paul Jakma + + * 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 * 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 d2f593e516..7c3be3d6c4 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);