diff options
author | John Kemp <kemp@network-services.uoregon.edu> | 2011-03-18 17:52:18 +0300 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-03-18 17:52:18 +0300 |
commit | 30b0017696dfe300b6ea630a6b6c91ea440d7828 (patch) | |
tree | 0438c379abb3c2a779e82de2cbcb20ebb59d31ce /ospfd/ospf_nsm.h | |
parent | b016e9def4255a7406f5633c6edb820e13c9088e (diff) |
bgpd: improve "monotonic" uptime correction
Older versions of Quagga/Zebra would output a value in MRT table
dump files for "uptime" aka "ORIGINATED" that was a WALL clock
value. Given that uptime is now internally a bgp_clock MONOTONIC
value, the output in the MRT files is showing up as monotonic.
Note: time of MRT dump is still recorded correctly as a
time() based value, so we haven't lost that value.
Proposal is to correct the uptime output on the vty and in the
MRT files to again display something more akin to WALL time.
* bgp_dump.c: (bgp_dump_routes_func) add conditional correction
* bgp_route.c: (route_vty_out_detail) make correction conditional, move
variable declaration to beginning of the function
Diffstat (limited to 'ospfd/ospf_nsm.h')
0 files changed, 0 insertions, 0 deletions