summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-11-11 20:33:41 +0100
committerDonald Sharp <sharpd@nvidia.com>2021-11-11 20:41:27 +0100
commite36f61b507746afff375759b1e496af529b98b26 (patch)
tree98bbe33ad8052fe135e3955bba02d7c34734c3fe /lib/vty.c
parent*: Convert quagga_signal_X to frr_signal_X (diff)
downloadfrr-e36f61b507746afff375759b1e496af529b98b26.tar.xz
frr-e36f61b507746afff375759b1e496af529b98b26.zip
*: Rename quagga_timestamp with frr_timestamp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 388af8eba..b702fa785 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -283,10 +283,10 @@ done:
/* Output current time to the vty. */
void vty_time_print(struct vty *vty, int cr)
{
- char buf[QUAGGA_TIMESTAMP_LEN];
+ char buf[FRR_TIMESTAMP_LEN];
- if (quagga_timestamp(0, buf, sizeof(buf)) == 0) {
- zlog_info("quagga_timestamp error");
+ if (frr_timestamp(0, buf, sizeof(buf)) == 0) {
+ zlog_info("frr_timestamp error");
return;
}
if (cr)