From d59bdfeb99d71e612ca1c4aedbd9d64545317564 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 8 Jul 2018 10:37:20 +0100 Subject: [PATCH] Fail to TCP when parsing AdminListen --- src/yggdrasil/admin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yggdrasil/admin.go b/src/yggdrasil/admin.go index 128b1d7d..cf56d414 100644 --- a/src/yggdrasil/admin.go +++ b/src/yggdrasil/admin.go @@ -245,7 +245,8 @@ func (a *admin) listen() { case "tcp": a.listener, err = net.Listen("tcp", u.Host) default: - err = errors.New(fmt.Sprint("protocol not supported: ", u.Scheme)) + // err = errors.New(fmt.Sprint("protocol not supported: ", u.Scheme)) + a.listener, err = net.Listen("tcp", a.listenaddr) } } else { a.listener, err = net.Listen("tcp", a.listenaddr)