]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: handle ENODATA better with DNR
authorRonan Pigott <ronan@rjp.ie>
Mon, 4 Nov 2024 23:12:00 +0000 (16:12 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Nov 2024 20:01:55 +0000 (05:01 +0900)
commit57feaaece38a9e8e6a362a8b50ff94e4edca61ea
tree2b735d9077ccf6ec67513c7398052acd732f13b8
parent2257be13fec7d603796f437a6ad13c3cf7934b2b
network: handle ENODATA better with DNR

It is normal for DHCP leases not to have DNR options. We need to be less
verbose and more forgiving in these cases. Also, if either DHCP does not
have DNR options, make sure to still consider any DHCPv6/RA options.

Fixes: c7c9e3c7c016 (network: adjust log message about DNR)
src/network/networkd-json.c
src/network/networkd-state-file.c