mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 05:12:04 +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 (level = 0; level < ISIS_LEVELS; level++)
|
||||
if (area->redist_settings[protocol]
|
||||
[type]
|
||||
[level].redist)
|
||||
[type][level]
|
||||
.redist
|
||||
== 1)
|
||||
do_subscribe[protocol][type] =
|
||||
1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user