summaryrefslogtreecommitdiffstats
path: root/src/protocol_ec25519_fhmqvc.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-23 20:52:48 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-23 20:52:48 +0200
commitce4645aef8b57f5ac8f1697d6396ce4761aed843 (patch)
tree391154ce4d60047f4507a61588d81ded7aa155c6 /src/protocol_ec25519_fhmqvc.c
parent945cc762afe999bdc9b30fa2818f64e7a5ae2db6 (diff)
downloadfastd-ce4645aef8b57f5ac8f1697d6396ce4761aed843.tar
fastd-ce4645aef8b57f5ac8f1697d6396ce4761aed843.zip
Don't trigger a resolve when a packet from an unknown peer is received
Diffstat (limited to 'src/protocol_ec25519_fhmqvc.c')
-rw-r--r--src/protocol_ec25519_fhmqvc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/protocol_ec25519_fhmqvc.c b/src/protocol_ec25519_fhmqvc.c
index 78f5ebf..9e7174b 100644
--- a/src/protocol_ec25519_fhmqvc.c
+++ b/src/protocol_ec25519_fhmqvc.c
@@ -555,12 +555,6 @@ static fastd_peer_t* find_sender_key(fastd_context_t *ctx, const fastd_peer_addr
if (memcmp(peer->protocol_config->public_key.p, key, PUBLICKEYBYTES) != 0)
continue;
- if (peer->config && fastd_peer_config_matches_dynamic(peer->config, address)) {
- fastd_resolve_peer(ctx, peer);
- errno = EAGAIN;
- return NULL;
- }
-
if (fastd_peer_is_floating(peer))
return peer;