]> git.ipfire.org Git - thirdparty/systemd.git/commit
timesyncd: add address type information to debug log
authorDaniel Mack <daniel@zonque.org>
Thu, 24 Feb 2022 16:47:49 +0000 (17:47 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 9 Apr 2022 01:23:14 +0000 (10:23 +0900)
commit5dfb11097d141dcab711fa62b5e951561038640a
tree990dfaa79f35e334e73c07f1ab1060d3259bc2a4
parent57b82eaacaf52b8333ae811cdd1b5445453ebb05
timesyncd: add address type information to debug log

When looking at debug logs, it's helpful to know what type of server
address has been added.

For that, introduce a string lookup table for the ServerType type.
src/timesync/timesyncd-server.c
src/timesync/timesyncd-server.h