commit | 5c55a496fae5ab089c5009bc4c03084fdeb51f55 | [log] [tgz] |
---|---|---|
author | Everton Marques <everton.marques@gmail.com> | Wed Jul 02 12:12:16 2014 -0300 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:07:56 2015 +0100 |
tree | 399c7769406c04b9671dc9cfcdcd372284639153 | |
parent | 04c833a1e0fbf063f49ff0b9f837b07456580374 [diff] |
pimd: Cosmetic fix for dr uptime display.
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index eaf6afe..90ca07c 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c
@@ -582,8 +582,8 @@ ifaddr = pim_ifp->primary_address; - pim_time_uptime(dr_uptime, sizeof(dr_uptime), - now - pim_ifp->pim_dr_election_last); + pim_time_uptime_begin(dr_uptime, sizeof(dr_uptime), + now, pim_ifp->pim_dr_election_last); pim_inet4_dump("<dr?>", pim_ifp->pim_dr_addr, dr_str, sizeof(dr_str));