summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-11-30 00:39:50 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:17 +0100
commit80df099b48dd5316842b150e90c0f7df016f45cb (patch)
treedadabe1045c9139aab090779b7cf7cff5700de9b
parentpimd: Make igmp query max response time take input in dsec (diff)
downloadfrr-80df099b48dd5316842b150e90c0f7df016f45cb.tar.xz
frr-80df099b48dd5316842b150e90c0f7df016f45cb.zip
pimd: Fix stupidity compile errors
I introduced compile errors using gcc, that worked fine with clang. This removes the issue. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--pimd/pim_cmd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 6f16a7e6d..78b4a569f 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -4099,15 +4099,12 @@ DEFUN (interface_no_ip_igmp_query_max_response_time,
{
VTY_DECLVAR_CONTEXT(interface, ifp);
struct pim_interface *pim_ifp;
- int default_query_interval_dsec;
pim_ifp = ifp->info;
if (!pim_ifp)
return CMD_SUCCESS;
- default_query_interval_dsec = 10 * pim_ifp->igmp_default_query_interval;
-
change_query_max_response_time(pim_ifp, IGMP_QUERY_MAX_RESPONSE_TIME_DSEC);
return CMD_SUCCESS;
@@ -4166,15 +4163,12 @@ DEFUN_HIDDEN (interface_no_ip_igmp_query_max_response_time_dsec,
{
VTY_DECLVAR_CONTEXT(interface, ifp);
struct pim_interface *pim_ifp;
- int default_query_interval_dsec;
pim_ifp = ifp->info;
if (!pim_ifp)
return CMD_SUCCESS;
- default_query_interval_dsec = 10 * pim_ifp->igmp_default_query_interval;
-
change_query_max_response_time(pim_ifp, IGMP_QUERY_MAX_RESPONSE_TIME_DSEC);
return CMD_SUCCESS;