summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-24 15:56:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-24 15:56:23 +0200
commitbbe0c1f725cea65f871918cadd391d7b01a86403 (patch)
tree35b3e6cdf7690ec31101ee3ab012bb6a938407d0
parent0aa335a1c7826ae97e66494b08c914d31a9f870f (diff)
downloadfastd-bbe0c1f725cea65f871918cadd391d7b01a86403.tar
fastd-bbe0c1f725cea65f871918cadd391d7b01a86403.zip
Remove dead code handling resolves triggered by received packets
-rw-r--r--src/protocol_ec25519_fhmqvc.c4
1 files changed, 0 insertions, 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;