mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-08-13 17:54:36 +02:00
Rework index hashtable
This commit is contained in:
@ -44,6 +44,6 @@ func (kp *Keypairs) Current() *Keypair {
|
||||
|
||||
func (device *Device) DeleteKeypair(key *Keypair) {
|
||||
if key != nil {
|
||||
device.indices.Delete(key.localIndex)
|
||||
device.indexTable.Delete(key.localIndex)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user