From: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
To: 70670@debbugs.gnu.org
Cc: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
Subject: [bug#70670] [PATCH 1/2] services: dnsmasq: Fix tftp-unique-root option.
Date: Tue, 30 Apr 2024 13:04:31 +0000 [thread overview]
Message-ID: <20240430130449.7992-1-jean-baptiste.note@m4x.org> (raw)
In-Reply-To: <20240430125738.24600-1-jean-baptiste.note@m4x.org>
* gnu/services/dns.scm (dnsmasq-shepherd-service): tftp-unique-root is a
string and its length is taken with string-length.
---
gnu/services/dns.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 6608046909..ff169f4e8d 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -874,7 +874,7 @@ (define (dnsmasq-shepherd-service config)
'())
#$@(if tftp-unique-root
(list
- (if (> (length tftp-unique-root) 0)
+ (if (> (string-length tftp-unique-root) 0)
(format #f "--tftp-unique-root=~a" tftp-unique-root)
(format #f "--tftp-unique-root")))
'()))
--
2.41.0
next prev parent reply other threads:[~2024-04-30 13:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 12:57 [bug#70670] [PATCH 0/2] Fix tftp-unique-root option for service dnsmasq Jean-Baptiste Note
2024-04-30 13:04 ` Jean-Baptiste Note [this message]
2024-04-30 13:04 ` [bug#70670] [PATCH 2/2] doc: Augment dnsmasq-service-type documentation Jean-Baptiste Note
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240430130449.7992-1-jean-baptiste.note@m4x.org \
--to=jean-baptiste.note@m4x.org \
--cc=70670@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).