]> git.ipfire.org Git - thirdparty/systemd.git/commit
dhcp-server-request: check server address in DHCPDECLINE and DHCPRELEASE 42235/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 7 May 2026 03:19:25 +0000 (12:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 May 2026 19:30:34 +0000 (04:30 +0900)
commitd40d021ca5e2b178ac542c70052b6621e7baec97
tree78e9be77f1bfed172d22104a09d2052c5269ae10
parente359c6df6589da33c0b7b0448355a95dcb70a8bd
dhcp-server-request: check server address in DHCPDECLINE and DHCPRELEASE

Otherwise, we may do something wrong by messages for another DHCP server.
Let's silently ignore messages with unmatching server identifier.

Also, logs something when we receive DHCPRELEASE but found lease does
not match the reported address.
src/libsystemd-network/dhcp-server-request.c