From bbe0c1f725cea65f871918cadd391d7b01a86403 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 24 Jul 2013 15:56:23 +0200 Subject: Remove dead code handling resolves triggered by received packets --- src/protocol_ec25519_fhmqvc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/protocol_ec25519_fhmqvc.c b/src/protocol_ec25519_fhmqvc.c index 87eedef..487acdc 100644 --- a/src/protocol_ec25519_fhmqvc.c +++ b/src/protocol_ec25519_fhmqvc.c @@ -645,10 +645,6 @@ static void protocol_handshake_handle(fastd_context_t *ctx, fastd_socket_t *sock peer = match_sender_key(ctx, sock, remote_addr, peer, handshake->records[RECORD_SENDER_KEY].data); if (!peer) { switch (errno) { - case EAGAIN: - pr_debug(ctx, "received handshake from %I, resolving host...", remote_addr); - return; - case EPERM: pr_debug(ctx, "ignoring handshake from %I (incorrect source address)", remote_addr); return; -- cgit v1.2.3