summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/server.go
diff options
context:
space:
mode:
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 {