GNU bug report logs - #65582
[PATCH] services: vpn: Fix broken format string for wireguard dns.

Previous Next

Package: guix-patches;

Reported by: Reily Siegel <mail <at> reilysiegel.com>

Date: Mon, 28 Aug 2023 15:23:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reily Siegel <mail <at> reilysiegel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] services: vpn: Fix broken format string for wireguard dns.
Date: Mon, 28 Aug 2023 11:11:23 -0400
* gnu/services/vpn.scm (wireguard-configuration-file): Fix broken format
string.
---
 gnu/services/vpn.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 9c8243d131..7fb4775757 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -820,7 +820,7 @@ (define (wireguard-configuration-file config)
                     (format #f "~@[ListenPort = ~a~]" #$port)
                     #$@(if (null? dns)
                            '()
-                           (list (format #f "~{DNS = ~{~a~^, ~}" dns)))))
+                           (list (format #f "DNS = ~{~a~^, ~}" dns)))))
 
                  (mkdir #$output)
                  (chdir #$output)

base-commit: 4a49a89b09d07d96f4d6ef3c0ca93801370f7b20




This bug report was last modified 1 year and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.