summaryrefslogtreecommitdiffstats
path: root/isisd/isis_redist.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_redist.c')
-rw-r--r--isisd/isis_redist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_redist.c b/isisd/isis_redist.c
index 9f27d780a..8e329494d 100644
--- a/isisd/isis_redist.c
+++ b/isisd/isis_redist.c
@@ -389,9 +389,9 @@ static void isis_redist_update_zebra_subscriptions(struct isis *isis)
for (protocol = 0; protocol < REDIST_PROTOCOL_COUNT; protocol++)
for (type = 0; type < ZEBRA_ROUTE_MAX + 1; type++)
for (level = 0; level < ISIS_LEVELS; level++)
- if (area->redist_settings
- [protocol][type][level]
- .redist)
+ if (area->redist_settings[protocol]
+ [type]
+ [level].redist)
do_subscribe[protocol][type] =
1;