diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-12-20 17:12:12 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-12-20 17:12:12 +0200 |
| commit | b3e1ceaf88afa66fbdb1bcebde8d9ffcf3039bcf (patch) | |
| tree | a820f5f4272a519249f88ec366a2d5766d8eaf37 /zebra/zebra_srv6_vty.c | |
| parent | 2f0f5d9ab134f1b7d73bb3b206c6cb2fd7b512d7 (diff) | |
lib: Add a wrapper for time_to_string() to print time in JSON outputs
newline is not expected to be printed in JSON outputs, e.g.:
```
"lastUpdate":{"epoch":1734490463,"string":"Wed Dec 18 04:54:23 2024\n"
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_srv6_vty.c')
0 files changed, 0 insertions, 0 deletions
