From 6c2180f5d02687f6aa1a5931b29827469bdc0ba0 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 9 May 2019 19:53:05 +0200 Subject: services: dhcp-client: Ignore interfaces that are not ARP capable. * gnu/services/networking.scm (dhcp-client-service-type): Filter interfaces that do not support the ARP protocol. --- gnu/services/networking.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 03b2c6e1ec..082a85f63d 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -190,7 +190,9 @@ fe80::1%lo0 apps.facebook.com\n") ;; interfaces are typically down at this point. Thus we perform ;; our own interface discovery here. (define valid? - (negate loopback-network-interface?)) + (lambda (interface) + (and (arp-network-interface? interface) + (not (loopback-network-interface? interface))))) (define ifaces (filter valid? (all-network-interface-names))) -- cgit v1.2.3