summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorckishimo <carles.kishimoto@gmail.com>2022-01-10 14:34:24 +0100
committerckishimo <carles.kishimoto@gmail.com>2022-01-10 17:58:26 +0100
commit3a53b2ac3135f8452641e72ea2e4ba5bc93b0ceb (patch)
tree904308f43223f9a8d6eefc0a530e91f46b958d86 /ospf6d
parentospf6d: remove double htons (diff)
downloadfrr-3a53b2ac3135f8452641e72ea2e4ba5bc93b0ceb.tar.xz
frr-3a53b2ac3135f8452641e72ea2e4ba5bc93b0ceb.zip
ospf6d: remove duplicated code
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>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_nssa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c
index 0fda095e0..d308f51ca 100644
--- a/ospf6d/ospf6_nssa.c
+++ b/ospf6d/ospf6_nssa.c
@@ -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)