]> git.proxmox.com Git - mirror_frr.git/commit - lib/monotime.h
lib, *: add a common time interval formatting api
authorMark Stapp <mjs@voltanet.io>
Thu, 5 Mar 2020 19:06:46 +0000 (14:06 -0500)
committerMark Stapp <mjs@voltanet.io>
Mon, 9 Mar 2020 15:12:32 +0000 (11:12 -0400)
commitd0636ead31ccfc9f6c27d02617d5965e3111d4ad
treef1c383042125411fc44acd65febdf43ce1f1de17
parent4c2a712d9325070e9ec45c90b1dd11d66e88169e
lib, *: add a common time interval formatting api

Add a common api that formats a time interval into a string
with different output for short and longer intervals. We do
this in several places, for cli/ui output.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
isisd/isis_misc.c
isisd/isis_vty_fabricd.c
lib/monotime.h
ripd/rip_peer.c
ripngd/ripng_peer.c
zebra/zebra_vty.c
zebra/zserv.c