]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
dhcpcd: dumping lease uses control socket to get the lease
authorRoy Marples <roy@marples.name>
Fri, 27 Mar 2020 16:14:48 +0000 (16:14 +0000)
committerRoy Marples <roy@marples.name>
Fri, 27 Mar 2020 16:14:48 +0000 (16:14 +0000)
commit8b4fc2133e4e85339977fb4955a399e79963d33d
tree00d41875758f602c57d15701669c91841f618fc0
parenta02aa585463b3967bccba8659139139638957d3a
dhcpcd: dumping lease uses control socket to get the lease

Thanks to privsep it's hard to know where the lease is now stored.
As such, the only true location is from the running dhcpcd process.
The ability to read a raw lease from stdin has been dropped.
src/dhcp.c
src/dhcp.h
src/dhcp6.c
src/dhcp6.h
src/dhcpcd.8.in
src/dhcpcd.c
src/script.c
src/script.h