[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: services: static-networking: Remove unused parameter.

From: Ludovic Courtès
Subject: 01/02: services: static-networking: Remove unused parameter.
Date: Mon, 21 Nov 2016 14:25:44 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit b3131e23184e5f44b94bf0c953397e2d0f414a73
Author: Ludovic Courtès <address@hidden>
Date:   Mon Nov 21 09:41:38 2016 +0100

    services: static-networking: Remove unused parameter.
    This is a followup to e48fcd7b8d07f213b23e3b432b0f10db917f69fa.
    * gnu/services/networking.scm (static-networking-service): Remove 
    (static-networking-service-type): Remove outdated comment.
 gnu/services/networking.scm |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 3a4133a..5a83240 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -126,9 +126,6 @@ fe80::1%lo0\n")
      (($ <static-networking> interface ip netmask gateway provision
       (let ((loopback? (memq 'loopback provision)))
-        ;; TODO: Eventually replace 'route' with bindings for the appropriate
-        ;; ioctls.
          ;; Unless we're providing the loopback interface, wait for udev to be 
@@ -191,8 +188,7 @@ fe80::1%lo0\n")
                                     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."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]