diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 198368f..0f922c7 100644 --- a/src/device.c +++ b/src/device.c @@ -41,7 +41,7 @@ static int open_peer(struct wireguard_peer *peer, void *data) timers_init_peer(peer); packet_send_queue(peer); if (peer->persistent_keepalive_interval) - socket_send_buffer_to_peer(peer, NULL, 0, 0); + packet_send_keepalive(peer); return 0; } |