aboutsummaryrefslogtreecommitdiff
path: root/listen.go
diff options
context:
space:
mode:
Diffstat (limited to 'listen.go')
-rw-r--r--listen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/listen.go b/listen.go
index d51940a..a31c75d 100644
--- a/listen.go
+++ b/listen.go
@@ -10,7 +10,7 @@ import (
type Listener struct {
mt.Listener
- mu sync.RWMutex
+ mu sync.RWMutex
clts map[*ClientConn]struct{}
}
@@ -18,7 +18,7 @@ type Listener struct {
func Listen(pc net.PacketConn) *Listener {
return &Listener{
Listener: mt.Listen(pc),
- clts: make(map[*ClientConn]struct{}),
+ clts: make(map[*ClientConn]struct{}),
}
}