]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: move resetting of {etc_hosts|static_records}_last to manager_dispatch_reloa... 41337/head
authorLennart Poettering <lennart@amutable.com>
Wed, 25 Mar 2026 21:18:12 +0000 (22:18 +0100)
committerLennart Poettering <lennart@amutable.com>
Wed, 25 Mar 2026 22:06:03 +0000 (23:06 +0100)
commitb734340596a27c067a27bc0774ba30d7dd22b553
treeef37a05ec8299d81ecf22b96c87d835c7d9fc421
parent7863f6ba85e0ac5bbb65c4ceffa23be7f512f11f
resolved: move resetting of {etc_hosts|static_records}_last to manager_dispatch_reload_signal()

This addresses
https://github.com/systemd/systemd/pull/41213#pullrequestreview-4002247053
which I somehow missed earlier.

Claude found a real issue for the case of manager_etc_hosts_flush().
We'll do the equivalent change in manager_static_records_flush() too,
even though it's not really necessary there, simply to keep things
nicely mirrored.
src/resolve/resolved-etc-hosts.c
src/resolve/resolved-manager.c
src/resolve/resolved-static-records.c