diff --git a/src/net_packet.c b/src/net_packet.c index 8313a54f..e169e2cd 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -1350,7 +1350,7 @@ static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) { if(!n->status.reachable || n == myself) continue; - if((n->status.sptps && !n->sptps.instate) || !n->status.validkey_in) + if(!n->status.validkey_in && !(n->status.sptps && n->sptps.instate)) continue; bool soft = false;