diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 18:23:40 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-13 18:26:09 +0200 |
commit | 2c27ab205c992d3387574aa6d57780744d35d36f (patch) | |
tree | e95bb88db16bac5d2050d3db13cd28570f44cd72 /device.go | |
parent | 233f079a9479279d2aab68f4accb139ee87ad664 (diff) |
Rework index hashtable
Diffstat (limited to 'device.go')
-rw-r--r-- | device.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |