summaryrefslogtreecommitdiff
path: root/lib/command_match.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-02 09:47:38 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-03 11:19:20 -0500
commite0330274590f87f53838b0a2e62f467dae77d566 (patch)
treeea02c5f1a78ffd1ff8380b2e3caede8d92a73f46 /lib/command_match.c
parentbaa68bca40d93e01d71f0e2723ef4ceddd3f6f97 (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