diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-07-24 15:38:03 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-07-24 15:38:03 +0200 |
commit | e463e09dc2b5ef6c19ae9dbb11f1caeb8336bbf7 (patch) | |
tree | 0ecc59cc834a2e5c235e5a3bad9747d7d67da4d0 /gnu | |
parent | fe0c3aee023cb776b57e52cd76923107f014e5c6 (diff) |
services: dhcpd: Fix activation with IPv6 configuration.
* gnu/services/networking.scm (dhcpd-activation): Pass the IP version
parameter to dhcpd.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/networking.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index eeb1487116..4e1055609d 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 |