summaryrefslogtreecommitdiffhomepage
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index cb5517e..054ab18 100644
--- a/src/device.c
+++ b/src/device.c
@@ -79,7 +79,7 @@ static int suspending_clear_noise_peers(struct notifier_block *nb, unsigned long
noise_handshake_clear(&peer->handshake);
noise_keypairs_clear(&peer->keypairs);
if (peer->timers_enabled)
- del_timer(&peer->timer_kill_ephemerals);
+ del_timer(&peer->timer_zero_key_material);
}
}
rtnl_unlock();
@@ -99,7 +99,7 @@ static int stop(struct net_device *dev)
noise_handshake_clear(&peer->handshake);
noise_keypairs_clear(&peer->keypairs);
if (peer->timers_enabled)
- del_timer(&peer->timer_kill_ephemerals);
+ del_timer(&peer->timer_zero_key_material);
}
skb_queue_purge(&wg->incoming_handshakes);
socket_uninit(wg);