diff options
Diffstat (limited to 'dhcpv6')
-rw-r--r-- | dhcpv6/server.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dhcpv6/server.go b/dhcpv6/server.go index 3fade87..1dad4be 100644 --- a/dhcpv6/server.go +++ b/dhcpv6/server.go @@ -117,7 +117,10 @@ func (s *Server) ActivateAndServe() error { if err != nil { switch err.(type) { case net.Error: - // silently skip and continue + if !err.(net.Error).Timeout() { + return err + } + // if timeout, silently skip and continue default: //complain and continue log.Printf("Error reading from packet conn: %v", err) |