]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_redist.c
isisd: fix "default-information originate always"
[mirror_frr.git] / isisd / isis_redist.c
index c33d56e625e07b88c9408914a945820307d245a1..843df3a849b74f00d273c423d3978edea268103f 100644 (file)
@@ -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;