From 7f47189c0d8f5c8b06ab1787a94506fbb673e6e0 Mon Sep 17 00:00:00 2001 From: Andrea Barberio Date: Wed, 8 May 2019 11:49:26 +0100 Subject: Addressed more linter warnings Mostly addressed missing error checking. Signed-off-by: Andrea Barberio --- dhcpv6/server6/server_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dhcpv6/server6') diff --git a/dhcpv6/server6/server_test.go b/dhcpv6/server6/server_test.go index c81525a..cf5fbea 100644 --- a/dhcpv6/server6/server_test.go +++ b/dhcpv6/server6/server_test.go @@ -37,7 +37,9 @@ func setUpClientAndServer(handler Handler) (*nclient6.Client, *Server) { if err != nil { panic(err) } - go s.Serve() + go func() { + _ = s.Serve() + }() clientConn, err := net.DialUDP("udp6", &net.UDPAddr{IP: net.ParseIP("::1")}, s.conn.LocalAddr().(*net.UDPAddr)) if err != nil { -- cgit v1.2.3