From e463e09dc2b5ef6c19ae9dbb11f1caeb8336bbf7 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 24 Jul 2021 15:38:03 +0200 Subject: 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(-) (limited to 'gnu') 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 ;;; Copyright © 2021 Christopher Lemmer Webber ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -363,8 +364,9 @@ (define dhcpd-activation (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 -- cgit v1.2.3