diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-01-17 22:46:07 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-23 18:26:32 +0100 |
commit | 6ced0e7f10d850d51f21200f5d3243cc1b90c453 (patch) | |
tree | ea0ad88f126401a1d5b01dd0f6f12bd10f627374 /ospfd/ospf_nsm.c | |
parent | ospf6d: time: remove unused/duplicate helpers (diff) | |
download | frr-6ced0e7f10d850d51f21200f5d3243cc1b90c453.tar.xz frr-6ced0e7f10d850d51f21200f5d3243cc1b90c453.zip |
lib: time: remove recent_relative_time()
Replace with monotime() [which is not cached].
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_nsm.c')
-rw-r--r-- | ospfd/ospf_nsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c index 17cc1f66c..ccb82bf8f 100644 --- a/ospfd/ospf_nsm.c +++ b/ospfd/ospf_nsm.c @@ -630,10 +630,10 @@ nsm_notice_state_change (struct ospf_neighbor *nbr, int next_state, int event) /* Advance in NSM */ if (next_state > nbr->state) - nbr->ts_last_progress = recent_relative_time (); + monotime(&nbr->ts_last_progress); else /* regression in NSM */ { - nbr->ts_last_regress = recent_relative_time (); + monotime(&nbr->ts_last_regress); nbr->last_regress_str = ospf_nsm_event_str [event]; } |