From 5fe4d2ea06b5fbb9ed7501e3e007a5608f1c9da6 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 26 Mar 2017 13:11:57 -0700 Subject: [PATCH] server: tell tun2 to listen and serve --- server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.go b/server/server.go index a92683d..6d0973f 100644 --- a/server/server.go +++ b/server/server.go @@ -143,6 +143,7 @@ func New(cfg Config) (*Server, error) { return nil, err } s.ts = ts + go ts.ListenAndServe() rpcs.RegisterName("Urls", &RPCServer{Server: s}) go rpcs.Accept(l)