summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/server.go
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-09-27 14:41:13 +0100
committerAndrea Barberio <insomniac@slackware.it>2018-09-27 14:41:13 +0100
commit8ff474648128703c117aaf5cb1afc73be1295bec (patch)
treefcf20eea259d21b7bc49ed157c85f4f5f82ab623 /dhcpv6/server.go
parentbda9d2f5ec68226158387d2bc8ac8f4fde0d1a91 (diff)
linter
Diffstat (limited to 'dhcpv6/server.go')
-rw-r--r--dhcpv6/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpv6/server.go b/dhcpv6/server.go
index 2f3e631..3871387 100644
--- a/dhcpv6/server.go
+++ b/dhcpv6/server.go
@@ -128,6 +128,7 @@ func (s *Server) ActivateAndServe() error {
return nil
}
+// Close sends a termination request to the server, and closes the UDP listener
func (s *Server) Close() error {
s.shouldStop = true
for {