diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2021-10-06 02:25:55 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2021-10-06 02:25:55 +0200 |
commit | 8ee9d58b0d67fc918259ef69f106586bd0a3a6da (patch) | |
tree | 21fe8d6e32034d9e204289598927442ff1bf62a6 /zebra/Makefile | |
parent | ospf6d: remove unnecessary check when translating Type-7 LSA (diff) | |
download | frr-8ee9d58b0d67fc918259ef69f106586bd0a3a6da.tar.xz frr-8ee9d58b0d67fc918259ef69f106586bd0a3a6da.zip |
ospf6d: assorted code cleanup
This commits consists of several changes that positively impact
code reability without introducing any logical change.
Summary of the changes:
* Return earlier in ospf6_abr_range_update() in order to reduce one
level of indentation;
* Remove ospf6_translated_nssa_originate() since it's nothing other
than a useless wrapper around ospf6_lsa_translated_nssa_new();
* Change ospf6_abr_translate_nssa() to return void;
* Change ospf6_abr_process_nssa_translates() checking for NSSA areas
before anything else;
* Remove ospf6_abr_remove_unapproved_translates_apply() since it's a
small function that is only called in one place;
* Change ospf6_abr_check_translate_nssa() to avoid an LSDB lookup when
the router isn't an ABR.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/Makefile')
0 files changed, 0 insertions, 0 deletions