diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-20 10:45:33 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:23:39 -0500 |
| commit | 5b45753eff8c6c65393a54ecfdb36f31bb4b3bcc (patch) | |
| tree | 57a184f7413d36444047dc88c4a694852e6c9c4d /pimd/pim_iface.c | |
| parent | 046b1aa7d45cc7dc05c09d599772cd1276fa379e (diff) | |
pimd: Convert qpim_t_periodic into the `struct pim_router` structure
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.c')
| -rw-r--r-- | pimd/pim_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index 1ad71823b8..0451ab1e71 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -1157,7 +1157,7 @@ long pim_if_t_suppressed_msec(struct interface *ifp) /* t_suppressed = t_periodic * rand(1.1, 1.4) */ ramount = 1100 + (random() % (1400 - 1100 + 1)); - t_suppressed_msec = qpim_t_periodic * ramount; + t_suppressed_msec = router->t_periodic * ramount; return t_suppressed_msec; } |
