summaryrefslogtreecommitdiffhomepage
path: root/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'device.go')
-rw-r--r--device.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/device.go b/device.go
index 9f93f21..6324948 100644
--- a/device.go
+++ b/device.go
@@ -1,7 +1,6 @@
package main
import (
- "git.zx2c4.com/wireguard-go/internal/ratelimiter"
"runtime"
"sync"
"sync/atomic"
@@ -51,7 +50,7 @@ type Device struct {
rate struct {
underLoadUntil atomic.Value
- limiter ratelimiter.Ratelimiter
+ limiter Ratelimiter
}
pool struct {