summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-11-21 09:41:38 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-21 15:25:38 +0100
commitb3131e23184e5f44b94bf0c953397e2d0f414a73 (patch)
treeadd6c6103726614e18359adffadf221dfd1c2d64
parente01e2c6c525f1c0ef0ab62b832435a4ece0348ec (diff)
downloadguix-b3131e23184e5f44b94bf0c953397e2d0f414a73.tar.gz
services: static-networking: Remove unused parameter.
This is a followup to e48fcd7b8d07f213b23e3b432b0f10db917f69fa.

* gnu/services/networking.scm (static-networking-service): Remove #:net-tools.
(static-networking-service-type): Remove outdated comment.
-rw-r--r--gnu/services/networking.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 3a4133a153..5a83240d77 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -126,9 +126,6 @@ fe80::1%lo0 apps.facebook.com\n")
      (($ <static-networking> interface ip netmask gateway provision
                              name-servers)
       (let ((loopback? (memq 'loopback provision)))
-
-        ;; TODO: Eventually replace 'route' with bindings for the appropriate
-        ;; ioctls.
         (shepherd-service
 
          ;; Unless we're providing the loopback interface, wait for udev to be up
@@ -191,8 +188,7 @@ fe80::1%lo0 apps.facebook.com\n")
                                     #:key
                                     netmask gateway
                                     (provision '(networking))
-                                    (name-servers '())
-                                    (net-tools net-tools))
+                                    (name-servers '()))
   "Return a service that starts @var{interface} with address @var{ip}.  If
 @var{netmask} is true, use it as the network mask.  If @var{gateway} is true,
 it must be a string specifying the default network gateway."