]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: remove duplicated code
authorckishimo <carles.kishimoto@gmail.com>
Mon, 10 Jan 2022 13:34:24 +0000 (14:34 +0100)
committerckishimo <carles.kishimoto@gmail.com>
Mon, 10 Jan 2022 16:58:26 +0000 (17:58 +0100)
The OSPF6_LSA_UNAPPROVED flag is set in the function above
ospf6_lsa_translated_nssa_new, so there is no need to set
the flag again

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospf6d/ospf6_nssa.c

index 0fda095e0a24c450ee1331833e9a2634d44dd5c6..d308f51ca46eecffb54c1ad5cebf59c7e2a1bbff 100644 (file)
@@ -604,7 +604,6 @@ struct ospf6_lsa *ospf6_translated_nssa_refresh(struct ospf6_area *area,
                                        __func__, &type7->header->id);
                        return NULL;
                }
-               UNSET_FLAG(new->flag, OSPF6_LSA_UNAPPROVED);
        }
 
        if (IS_OSPF6_DEBUG_NSSA)