]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp-server: do not forget previously assigned addresses on pool change 30720/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 21:06:59 +0000 (06:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Jan 2024 20:10:47 +0000 (05:10 +0900)
commitea7a35ed6862bd73bac469f650ea7934c3b952f9
tree8938d784a5081750dcd3cd9d092fc9348cc1ad02
parent0596f5939fa4d583756054cdfe8028146f52d4b4
sd-dhcp-server: do not forget previously assigned addresses on pool change

Currently, networkd does not change pool size dynamically, so this
should not change behavior. But if networkd does that, then forgetting
leases causes that an address still used by a client may be assigned to
another host.
src/libsystemd-network/sd-dhcp-server.c