summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-25 11:46:31 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-25 14:43:44 +0200
commitb89e74054ee54b3afc8aed99fe9be89e8e05890b (patch)
tree427fde8fcd8fde2012ceb5a656d34a993c09d8c4 /gnu
parent53de532f287d49627e4fcaaa3991a6e87810a98a (diff)
syscalls: Rename 'network-interfaces' and 'all-network-interfaces'.
* guix/build/syscalls.scm (network-interfaces): Rename to... (network-interface-names): ... this. (all-network-interfaces): Rename to... (all-network-interface-names): ... this. * gnu/services/networking.scm (dhcp-client-service): Adjust accordingly. * tests/syscalls.scm ("all-network-interfaces"): Rename to... ("all-network-interface-names"): ... this, and adjust accordingly. ("network-interfaces"): Rename to... ("network-interface-names"): ... this, and adjust accordingly.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/networking.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 102202c853..c2b404503e 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -173,7 +173,7 @@ Protocol (DHCP) client, on all the non-loopback network interfaces."
(define valid?
(negate loopback-network-interface?))
(define ifaces
- (filter valid? (all-network-interfaces)))
+ (filter valid? (all-network-interface-names)))
;; XXX: Make sure the interfaces are up so that
;; 'dhclient' can actually send/receive over them.