summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2021-11-12 21:35:27 -0600
committerGitHub <noreply@github.com>2021-11-12 21:35:27 -0600
commit3357afaa74c2d3e2dafb65397a666f5b46470f7e (patch)
tree460cedda577a74692bfde0a5f37c9e27c1b1ec76 /lib/vty.c
parentd9a03ad330c20d900caf4e1c266389bd8d2da651 (diff)
parentb72aae2e044a1dbc5cffada5b7f3abec26f46ec7 (diff)
Merge pull request #10036 from donaldsharp/finally_frr
Finally frr
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 388af8ebaf..b702fa7850 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)