From 86c54a384a3bb0442ba3419a2e209f0ca9cc544e Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 3 Jan 2018 10:53:26 -0800 Subject: [PATCH] cmd/routed: ensure quic is working --- cmd/routed/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/routed/main.go b/cmd/routed/main.go index 9fb8e3d..06db240 100644 --- a/cmd/routed/main.go +++ b/cmd/routed/main.go @@ -88,7 +88,7 @@ func setupQuic(s *Server, scfg Config) { } for { - qs.ListenAndServeTLS("", "") + ln.FatalErr(context.Background(), qs.ListenAndServeTLS("", "")) } } @@ -102,6 +102,6 @@ func setupTLS(s *Server, scfg Config) { } for { - hs.ListenAndServeTLS("", "") + ln.FatalErr(context.Background(), hs.ListenAndServeTLS("", "")) } }