Add --no-dhcpv4-interface and --no-dhcpv6-interface options.

This commit is contained in:
Simon Kelley committed 2023-04-12 22:55:14 +01:00
1 parent 597378cdf5
commit aaba66efbd
10 files changed
+51 -15

No files matched your search

+1 -1
View File
@@ -557,7 +557,7 @@ char *whichdevice(void)
return NULL;
for (found = NULL, iface = daemon->interfaces; iface; iface = iface->next)
if (iface->dhcp_ok)
if (iface->dhcp4_ok || iface->dhcp6_ok)
{
if (!found)
found = iface;