]> The Tcpdump Group git mirrors - tcpdump/commit
ZEP: use the exissting NTP time formatting code.
authorGuy Harris <[email protected]>
Fri, 29 Mar 2024 05:49:42 +0000 (22:49 -0700)
committerGuy Harris <[email protected]>
Fri, 29 Mar 2024 05:49:42 +0000 (22:49 -0700)
commite57fe28eb2a42698ca948488ed2dcb8fad9d35e5
tree573fe7dc4664a548ca15124b077adb0efd955cf7
parent433405d2a026af01382a5a0ad943b10180068161
ZEP: use the exissting NTP time formatting code.

The strftime() format for that case is slightly different, so add a new
p_ntp_time_fmt() routine that takes a strftime() format, and use that in
ZEP.

That way, we can benefit from any handling of times not fitting in a
time_t being done by the NTP time printing code.
ntp.c
ntp.h
print-zep.c