summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/server6
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2019-05-08 11:49:26 +0100
committerinsomniac <insomniacslk@users.noreply.github.com>2019-05-08 13:48:24 +0100
commit7f47189c0d8f5c8b06ab1787a94506fbb673e6e0 (patch)
tree54f3cdc124385c3f6ef57f029415aedf1fdacec0 /dhcpv6/server6
parentc781bfa866afb5cac93f2fcbb5ef9da53a486087 (diff)
Addressed more linter warnings
Mostly addressed missing error checking. Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Diffstat (limited to 'dhcpv6/server6')
-rw-r--r--dhcpv6/server6/server_test.go4
1 files changed, 3 insertions, 1 deletions
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 {