]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp-server: also save the server address and netmask to the leases file 31791/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Mar 2024 10:35:46 +0000 (19:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Mar 2024 19:15:10 +0000 (04:15 +0900)
commit5ed4c2b944d1188181bfea937ea0a069af26bb53
treef3d953f13c37067c9dd17f544ffcf26a149bdc1c
parentd47f83302e25f020e7ec4051c8e0cb49d4c3a14a
sd-dhcp-server: also save the server address and netmask to the leases file

And introduce a tiny helper to retrieve these information.
The function is not used at this time, but will be used later.
src/libsystemd-network/dhcp-server-lease-internal.h
src/libsystemd-network/sd-dhcp-server-lease.c