guix-commits
[Top][All Lists]
Advanced

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

branch master updated: services: dhcpd: Fix activation with IPv6 configu


From: guix-commits
Subject: branch master updated: services: dhcpd: Fix activation with IPv6 configuration.
Date: Sat, 24 Jul 2021 10:35:14 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e463e09  services: dhcpd: Fix activation with IPv6 configuration.
e463e09 is described below

commit e463e09dc2b5ef6c19ae9dbb11f1caeb8336bbf7
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Jul 24 15:38:03 2021 +0200

    services: dhcpd: Fix activation with IPv6 configuration.
    
    * gnu/services/networking.scm (dhcpd-activation): Pass the IP version
      parameter to dhcpd.
---
 gnu/services/networking.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index eeb1487..4e10556 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2021 Christopher Lemmer Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -363,8 +364,9 @@ Protocol (DHCP) client, on all the non-loopback network 
interfaces.")))
                (lambda _ (display ""))))
            ;; Validate the config.
            (invoke/quiet
-            #$(file-append package "/sbin/dhcpd") "-t" "-cf"
-            #$config-file))))))
+            #$(file-append package "/sbin/dhcpd")
+            #$(string-append "-" version)
+            "-t" "-cf" #$config-file))))))
 
 (define dhcpd-service-type
   (service-type



reply via email to

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