aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-30 14:41:08 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-30 14:41:08 +0200
commitba3e486667987f16290ac85dc35b53cb9702d662 (patch)
tree2db62dcb54eb231f3673cfde54ace4dfaedb5f04 /src/index.go
parentCompleted get/set configuration (diff)
downloadwireguard-go-ba3e486667987f16290ac85dc35b53cb9702d662.tar.xz
wireguard-go-ba3e486667987f16290ac85dc35b53cb9702d662.zip
Completed initial version of outbound flow
Diffstat (limited to '')
-rw-r--r--src/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.go b/src/index.go
index 9178510..59e2079 100644
--- a/src/index.go
+++ b/src/index.go
@@ -41,7 +41,7 @@ func (table *IndexTable) Init() {
table.mutex.Unlock()
}
-func (table *IndexTable) ClearIndex(index uint32) {
+func (table *IndexTable) Delete(index uint32) {
if index == 0 {
return
}