Skip to content

Commit

Permalink
pimd: No need to assert on the redist_default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
donaldsharp committed Jan 23, 2018
1 parent 09eef67 commit daeda3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pimd/pim_zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit daeda3d

Please sign in to comment.