mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 09:44:26 +00:00
isisd: fix "default-information originate always"
We don't need to register for default routes from zebra, when the origination type is set to "always". Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
164ab8965e
commit
a601d66274
@ -359,8 +359,9 @@ static void isis_redist_update_zebra_subscriptions(struct isis *isis)
|
|||||||
for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
|
for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
|
||||||
for (level = 0; level < ISIS_LEVELS; level++)
|
for (level = 0; level < ISIS_LEVELS; level++)
|
||||||
if (area->redist_settings[protocol]
|
if (area->redist_settings[protocol]
|
||||||
[type]
|
[type][level]
|
||||||
[level].redist)
|
.redist
|
||||||
|
== 1)
|
||||||
do_subscribe[protocol][type] =
|
do_subscribe[protocol][type] =
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user