diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-09 16:07:39 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-14 16:12:34 +0200 |
commit | a601d662743f379d4626dc252115ece7bd7ba83b (patch) | |
tree | 464350e02ead42b65ec0143c541fbc5750f7e401 /isisd/isis_redist.c | |
parent | isisd: deregister vrf from zebra when vrf is disabled (diff) | |
download | frr-a601d662743f379d4626dc252115ece7bd7ba83b.tar.xz frr-a601d662743f379d4626dc252115ece7bd7ba83b.zip |
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>
Diffstat (limited to 'isisd/isis_redist.c')
-rw-r--r-- | isisd/isis_redist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c index c33d56e62..843df3a84 100644 --- a/isisd/isis_redist.c +++ b/isisd/isis_redist.c @@ -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; |