summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-23 00:22:09 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-23 01:44:52 +0100
commitdaeda3d7ff34ec1c4f26f987ec361364f5ef7b66 (patch)
tree74edccfba87ca253b23cfb3d5418cea01f7ba71c /pimd
parentlib: Unset bitmap when not using it (diff)
downloadfrr-daeda3d7ff34ec1c4f26f987ec361364f5ef7b66.tar.xz
frr-daeda3d7ff34ec1c4f26f987ec361364f5ef7b66.zip
pimd: No need to assert on the redist_default
zclient_init sets the redist_default to the appropriate value, testing it with an assert doesn't really provide us with much of anything useful. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 6e8255876..2970dcee5 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -765,8 +765,6 @@ void pim_zebra_init(void)
zlog_info("zclient_init cleared redistribution request");
}
- zassert(zclient->redist_default == ZEBRA_ROUTE_PIM);
-
/* Request all redistribution */
for (i = 0; i < ZEBRA_ROUTE_MAX; i++) {
if (i == zclient->redist_default)