From 6106e817cf51eda4ca075279b772e9c9646de8f5 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 6 Aug 2023 01:59:25 +0400 Subject: [PATCH] In utils.NetworkType() added Yggdrasil. --- pkg/utils/dwelling.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/utils/dwelling.go b/pkg/utils/dwelling.go index 48fac2d..9847f3a 100644 --- a/pkg/utils/dwelling.go +++ b/pkg/utils/dwelling.go @@ -25,6 +25,8 @@ func NetworkType(host string) (string, string) { return "i2p", "http" } else if strings.Contains(host, "onion") { return "tor", "http" + } else if strings.Contains(host, "[300:") { + return "ygg", "http" } else { return "www", "https" }