diff options
| author | ckishimo <carles.kishimoto@gmail.com> | 2022-01-10 14:34:24 +0100 | 
|---|---|---|
| committer | ckishimo <carles.kishimoto@gmail.com> | 2022-01-10 17:58:26 +0100 | 
| commit | 3a53b2ac3135f8452641e72ea2e4ba5bc93b0ceb (patch) | |
| tree | 904308f43223f9a8d6eefc0a530e91f46b958d86 /ospf6d/ospf6_nssa.c | |
| parent | 18529688e6027ba503281090c0a233961580b243 (diff) | |
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/ospf6_nssa.c')
| -rw-r--r-- | ospf6d/ospf6_nssa.c | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c index 0fda095e0a..d308f51ca4 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)  | 
