diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-12 22:29:11 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-12 22:29:11 +0100 |
commit | ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c (patch) | |
tree | e939f1c2e4c09d871918a08e9646572e318e6cf1 /device.go | |
parent | bffe99aeadae09abd02f2bd3184925af6b680535 (diff) | |
download | wireguard-go-ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c.tar.gz wireguard-go-ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c.zip |
Revert "Don't use modules"
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
Diffstat (limited to 'device.go')
-rw-r--r-- | device.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ package main import ( + "git.zx2c4.com/wireguard-go/internal/ratelimiter" "runtime" "sync" "sync/atomic" @@ -50,7 +51,7 @@ type Device struct { rate struct { underLoadUntil atomic.Value - limiter Ratelimiter + limiter ratelimiter.Ratelimiter } pool struct { |