diff options
author | Andrea Barberio <insomniac@slackware.it> | 2018-11-09 16:34:56 +0000 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2018-11-12 11:20:19 +0000 |
commit | 08eace5b3537c9cedf8fbf2f2a61562e3ffbc302 (patch) | |
tree | f7f07ca4094fe3729a5a11404f1f6e66683cc3f9 /dhcpv4 | |
parent | b388e716ca28ed5cb186e23a215a32d526d22cd0 (diff) |
Make server handlers async
Diffstat (limited to 'dhcpv4')
-rw-r--r-- | dhcpv4/server.go | 2 |
1 files changed, 1 insertions, 1 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 } |