]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: don't generate Type-7 LSA for route created by "default-information-originate"
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 8 Sep 2021 16:13:19 +0000 (13:13 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 21 Sep 2021 20:43:45 +0000 (17:43 -0300)
commit210429c74722d85f392cbee344ffd30bea83a004
treeae4573f2902c25c2f9d7b72a79fc8d78dc4509b0
parent16727fd7eb1b99d7a3891a69b75abb8191b6887f
ospf6d: don't generate Type-7 LSA for route created by "default-information-originate"

The route created by the "default-information-originate" command
isn't a regular external route. As such, an NSSA ABR shouldn't
originate a corresponding Type-7 LSA for it (there's a separate
configuration knob to generate Type-7 default routes).

While here, fix a small issue in ospf6_asbr_redistribute_add()
where routes created by "default-information-originate" were being
displayed with an incorrect "unknown" type.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_asbr.c
ospf6d/ospf6_nssa.c
tests/topotests/ospf6_topo2/test_ospf6_topo2.py