diff options
-rw-r--r-- | dhcpv4/server.go | 2 | ||||
-rw-r--r-- | dhcpv6/server.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/server.go b/dhcpv4/server.go index 130ef54..94e4578 100644 --- a/dhcpv4/server.go +++ b/dhcpv4/server.go @@ -131,7 +131,7 @@ func (s *Server) ActivateAndServe() error { log.Printf("Error parsing DHCPv4 request: %v", err) continue } - s.Handler(pc, peer, m) + go s.Handler(pc, peer, m) } return nil } diff --git a/dhcpv6/server.go b/dhcpv6/server.go index 1dad4be..55a53e3 100644 --- a/dhcpv6/server.go +++ b/dhcpv6/server.go @@ -133,7 +133,7 @@ func (s *Server) ActivateAndServe() error { log.Printf("Error parsing DHCPv6 request: %v", err) continue } - s.Handler(pc, peer, m) + go s.Handler(pc, peer, m) } return nil } |