diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-02 09:47:38 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-01-03 11:19:20 -0500 |
| commit | e0330274590f87f53838b0a2e62f467dae77d566 (patch) | |
| tree | ea02c5f1a78ffd1ff8380b2e3caede8d92a73f46 /lib/command_match.c | |
| parent | baa68bca40d93e01d71f0e2723ef4ceddd3f6f97 (diff) | |
bgpd: Fix peer uptime display in milliseconds
For some reason bgp is calculating the peer uptime
in miliseconds incorrectly. Additionally we have
the peer_uptime function call that should be doing this!
But since we've choosen different names for the json output
we cannot fix it at this point.
uptime contains the number of seconds of uptime here. Just
multiply by 1k and display that( as peer_uptime does )
Fixes: #1585
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command_match.c')
0 files changed, 0 insertions, 0 deletions
