diff options
Diffstat (limited to 'src/dhcp-common.c')
-rw-r--r-- | src/dhcp-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcp-common.c b/src/dhcp-common.c index 360cdc5..b004e40 100644 --- a/src/dhcp-common.c +++ b/src/dhcp-common.c @@ -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; |