]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp-client: initialize event source and so on in client_start_delayed()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Mar 2026 16:15:22 +0000 (01:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Apr 2026 22:40:07 +0000 (07:40 +0900)
commitffc3d5f812e899cf32d2dc610988cabb2f3f5810
tree4f6b3939be4ff574cbf0b1f8464078901a6d58df
parent0b3cbfd1bc247c7323ba0286b6df8961a68f2fbd
sd-dhcp-client: initialize event source and so on in client_start_delayed()

When we start the client, any previous state/configuration should be cleaned.
Let's effectively do the same thing as client_initialize() in that
function.

This also several assertions in client_start_delayed() to
sd_dhcp_client_start(). These kind of checks should be done earlier.
src/libsystemd-network/sd-dhcp-client.c