]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp-client: propagate errors in client_initialize_{io,time}_events() 41256/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Mar 2026 12:59:42 +0000 (21:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 21 Mar 2026 18:34:43 +0000 (03:34 +0900)
commit26f769bea390eb06bef0d709beb47a5a75f9ff3f
treebc7fbb283fd0265cc4f0cad9d3f982e83faae2b4
parentad4d2ae619dc16abc708c8aeb54148973712a46e
sd-dhcp-client: propagate errors in client_initialize_{io,time}_events()

Call client_stop() on error and return 0 only on callback.
Normal non-callback functions should propagate errors.

This also makes client_initialize_time_events() use
event_reset_time_relative().
src/libsystemd-network/sd-dhcp-client.c