From: Sergey Matveev Date: Sat, 29 Nov 2025 12:52:08 +0000 (+0300) Subject: Forcefully listen on :: IPv6 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=533ea1ddbfa4e7d4c64c4e0f8556cfa19245a1c7;p=godlighty.git Forcefully listen on :: IPv6 --- diff --git a/cmd/godlighty/main.go b/cmd/godlighty/main.go index 6cbba08..0cceb37 100644 --- a/cmd/godlighty/main.go +++ b/cmd/godlighty/main.go @@ -59,7 +59,7 @@ func main() { shutdown := make(chan os.Signal, 1) signal.Notify(shutdown, syscall.SIGTERM, syscall.SIGINT, syscall.SIGHUP) exitErr := make(chan error) - l, err := godlighty.DeadlinedListen("tcp", *bind, RWTimeout, RWTimeout) + l, err := godlighty.DeadlinedListen("tcp6", *bind, RWTimeout, RWTimeout) if err != nil { log.Fatalln(err) }