diff options
Diffstat (limited to 'src/cookie.c')
-rw-r--r-- | src/cookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookie.c b/src/cookie.c index 97ab28a..bd23a14 100644 --- a/src/cookie.c +++ b/src/cookie.c @@ -202,7 +202,7 @@ void wg_cookie_message_consume(struct message_handshake_cookie *src, u8 cookie[COOKIE_LEN]; bool ret; - if (unlikely(!wg_index_hashtable_lookup(&wg->index_hashtable, + if (unlikely(!wg_index_hashtable_lookup(wg->index_hashtable, INDEX_HASHTABLE_HANDSHAKE | INDEX_HASHTABLE_KEYPAIR, src->receiver_index, &peer))) |