]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/dhcp-server: several cleanups for setting domain to DHCP server 39380/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 Oct 2025 03:16:31 +0000 (12:16 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 20 Oct 2025 03:21:04 +0000 (12:21 +0900)
commitb25fac6776a38abad756619eba5e175a562ff95b
treead4fc15a077ce628024c81f6cda8a790193d7d32
parentc6d97d9e08b98ebd02f95db4efa8a85c14fcf555
network/dhcp-server: several cleanups for setting domain to DHCP server

- use dns_name_parent(),
- only ignore errors when the current hostname does not have domain
  part, but make other errors like ENOMEM critical.

Follow-ups for 3eb7b881bd7e5ebe54910fe343d0ee0963879aab.
src/network/networkd-dhcp-server.c