diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 08:54:07 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:23:39 -0500 |
| commit | 2925dff513b6fce59d0b5bf6af77547fb049f3c1 (patch) | |
| tree | 0d544683ce7bb930881fc6483c2299223fbf7af9 /pimd/pim_vty.c | |
| parent | da03883e1edcd191091482008bffa85f0941c2bf (diff) | |
pimd: Move register_suppress_time into struct pim router
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 6c837e2a3f..ff3ada774a 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -172,10 +172,10 @@ int pim_global_config_write_worker(struct pim_instance *pim, struct vty *vty) writes += pim_rp_config_write(pim, vty, spaces); - if (qpim_register_suppress_time + if (router->register_suppress_time != PIM_REGISTER_SUPPRESSION_TIME_DEFAULT) { vty_out(vty, "%sip pim register-suppress-time %d\n", spaces, - qpim_register_suppress_time); + router->register_suppress_time); ++writes; } if (router->t_periodic != PIM_DEFAULT_T_PERIODIC) { |
