From: Felix Fietkau Date: Sun, 28 Aug 2022 18:39:47 +0000 (+0200) Subject: pex-msg: fix siphash key initializer X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=74a14c00abb07d2d8c79c61c459f70d28764dee6;p=project%2Funetd.git pex-msg: fix siphash key initializer Signed-off-by: Felix Fietkau --- diff --git a/pex-msg.c b/pex-msg.c index 22825be..c97cfeb 100644 --- a/pex-msg.c +++ b/pex-msg.c @@ -42,8 +42,10 @@ struct pex_msg_update_recv_ctx { uint64_t pex_network_hash(const uint8_t *auth_key, uint64_t req_id) { siphash_key_t key = { - be64_to_cpu(req_id), - be64_to_cpu(req_id) + .key = { + be64_to_cpu(req_id), + be64_to_cpu(req_id) + } }; uint64_t hash;