mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
pathd: Replace ctime_r() with time_to_string()
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
3784736b09
commit
8f5821eb77
|
@ -1321,8 +1321,7 @@ void _format_pcep_event(int ps, pcep_event *event)
|
|||
PATHD_FORMAT("\n");
|
||||
PATHD_FORMAT("%*sevent_type: %s\n", ps2, "",
|
||||
pcep_event_type_name(event->event_type));
|
||||
PATHD_FORMAT("%*sevent_time: %s", ps2, "",
|
||||
ctime_r(&event->event_time, buf));
|
||||
PATHD_FORMAT("%*sevent_time: %s", ps2, "", time_to_string(event->event_time, buf));
|
||||
if (event->session == NULL) {
|
||||
PATHD_FORMAT("%*ssession: NULL\n", ps2, "");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue