summaryrefslogtreecommitdiffhomepage
path: root/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'device.go')
-rw-r--r--device.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.go b/device.go
index e127b5b..3db3609 100644
--- a/device.go
+++ b/device.go
@@ -56,8 +56,8 @@ type Device struct {
// unprotected / "self-synchronising resources"
- indices IndexTable
- mac CookieChecker
+ indexTable IndexTable
+ mac CookieChecker
rate struct {
underLoadUntil atomic.Value
@@ -283,7 +283,7 @@ func NewDevice(tun TUNDevice, logger *Logger) *Device {
// initialize noise & crypt-key routine
- device.indices.Init()
+ device.indexTable.Init()
device.routing.table.Reset()
// setup buffer pool