summaryrefslogtreecommitdiff
path: root/zebra/zebra_srv6_vty.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-12-20 17:13:19 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-12-20 17:58:49 +0200
commitb37f5f53b3ef37af4c70ca358d3e74ce73fdabd1 (patch)
tree9000e1a05b3ccfdbebe9cf1e03b9e13a76406b6d /zebra/zebra_srv6_vty.c
parentb3e1ceaf88afa66fbdb1bcebde8d9ffcf3039bcf (diff)
bgpd: Replace ctime_r() to time_to_string[_json]() to handle JSON/non-JSON
For JSON output we don't need newline to be printed. Before: ``` "lastUpdate":{"epoch":1734490463,"string":"Wed Dec 18 04:54:23 2024\n" ``` After: ``` "lastUpdate":{"epoch":1734678560,"string":"Fri Dec 20 09:09:20 2024" ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_srv6_vty.c')
0 files changed, 0 insertions, 0 deletions