From f3f0c4f8ccefaf38470716bd4c38eae6e7937aa3 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 12 Sep 2016 15:09:28 -0400 Subject: 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 --- pimd/pimd.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'pimd') 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; /* -- cgit v1.2.3