From: Felix Fietkau Date: Tue, 23 Aug 2022 21:06:09 +0000 (+0200) Subject: pex: remove connected check in pex_msg_send X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=92afaa65eeabe296eba83cbd02fb781060e69321;p=project%2Funetd.git pex: remove connected check in pex_msg_send Signed-off-by: Felix Fietkau --- diff --git a/pex.c b/pex.c index ab9eb2b..1ec140d 100644 --- a/pex.c +++ b/pex.c @@ -65,7 +65,7 @@ static void pex_msg_send(struct network *net, struct network_peer *peer) { struct sockaddr_in6 sin6 = {}; - if (!peer || peer == &net->net_config.local_host->peer || !peer->state.connected) + if (!peer || peer == &net->net_config.local_host->peer) return; pex_get_peer_addr(&sin6, net, peer);