]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Force dumplease to parse stdin
authorBrett Holman <bholman.devel@gmail.com>
Sat, 20 Jan 2024 01:43:26 +0000 (18:43 -0700)
committerRoy Marples <roy@marples.name>
Mon, 17 Jun 2024 08:48:16 +0000 (09:48 +0100)
commit25806878c9975dd769e2e193eae22f470ef4c71a
tree7c03773f4a2ad8e4247c232b34088f0b885ae4fd
parent127c0b77a85494235fdf6c350e077b11271b9895
Force dumplease to parse stdin

Checking if data exists in the stdin buffer via an ioctl is
unreliable. Allow a user to pass '-' to force stdin parsing.
This provides a fix that will allow "no interfaces" to still
mean "dump all interfaces".

Fixes #285
src/dhcpcd.c