From 747843f600a528bf02dc2c8f5cc4de24f7e101ca Mon Sep 17 00:00:00 2001 From: Brian Cunnie Date: Tue, 29 Jul 2025 06:51:24 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20warning=20on=20startup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using the default addresses, the server would start with a warning caused by an extra comma at the end of the last `-addresses` argument. This commit removes that errant comma. Fixes, when server starts: ``` -addresses: arguments should be in the format "host=ip", not "" ``` --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 796bb29..0cbff41 100644 --- a/main.go +++ b/main.go @@ -57,7 +57,7 @@ func main() { "ns-hetzner.sslip.io=5.78.115.44,"+ "ns-hetzner.sslip.io=2a01:4ff:1f0:c920::,"+ "ns-ovh.sslip.io=51.75.53.19,"+ - "ns-ovh.sslip.io=2001:41d0:602:2313::1,", + "ns-ovh.sslip.io=2001:41d0:602:2313::1", "comma-separated list of hosts and corresponding IPv4 and/or IPv6 address(es). If you're running your own sslip.io nameservers, add their hostnames and addresses here. If unsure, add to the list rather than replace") var delegates = flag.String("delegates", "", "comma-separated list of domains you own "+ "and nameservers you control to which to delegate, often used to acquire wildcard certificates from "+