3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

services: dhcpd: Fix activation with IPv6 configuration.

* gnu/services/networking.scm (dhcpd-activation): Pass the IP version
  parameter to dhcpd.
This commit is contained in:
Guillaume Le Vaillant 2021-07-24 15:38:03 +02:00
parent fe0c3aee02
commit e463e09dc2
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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