diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-12 21:09:28 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:09 +0100 |
commit | f3f0c4f8ccefaf38470716bd4c38eae6e7937aa3 (patch) | |
tree | fdf04735974e0d047d43a97cb40c40fec5ff0cd5 /pimd/pimd.c | |
parent | pimd: Fix high cpu load of pim when interface goes down (diff) | |
download | frr-f3f0c4f8ccefaf38470716bd4c38eae6e7937aa3.tar.xz frr-f3f0c4f8ccefaf38470716bd4c38eae6e7937aa3.zip |
pimd: Startup does not need to assert
When pim starts up there is no need to assert in pim_init
if state is not set as wanted. Especially for qpim_debugs
as that I would like to turn on debugs before we even start
doing anything in the code.
As for the PIM_MROUTE_IS_ENABLED, the variable is set
right above it, so no need to assert on it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r-- | pimd/pimd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index 881c75dfb..94c8f20e9 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -139,9 +139,6 @@ void pim_init() qpim_mroute_socket_fd = -1; /* mark mroute as disabled */ qpim_mroute_oif_highest_vif_index = -1; - zassert(!qpim_debugs); - zassert(!PIM_MROUTE_IS_ENABLED); - qpim_inaddr_any.s_addr = PIM_NET_INADDR_ANY; /* |