aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 7ffc529..a964f27 100644
--- a/src/config.c
+++ b/src/config.c
@@ -114,7 +114,7 @@ static int set_peer(struct wireguard_device *wg, void __user *user_peer, size_t
}
if (wg->dev->flags & IFF_UP)
- packet_send_queue(peer);
+ queue_work(wg->crypt_wq, &peer->init_queue.work);
peer_put(peer);