diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-29 18:39:50 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:17 -0500 |
| commit | 80df099b48dd5316842b150e90c0f7df016f45cb (patch) | |
| tree | dadabe1045c9139aab090779b7cf7cff5700de9b /pimd/pim_cmd.c | |
| parent | 58344b652e4458833a3b265ee547aa892ba32c89 (diff) | |
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>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 6f16a7e6d2..78b4a569fb 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; |
