From aeb33aba9c2c231cfe1f833af7f28756a88c829d Mon Sep 17 00:00:00 2001 From: rpm-build Date: Dec 09 2020 13:39:51 +0000 Subject: 0005-igmp-trusted-query.patch patch_name: 0005-igmp-trusted-query.patch present_in_specfile: true location_in_specfile: 6 --- diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c index 7a19d25..9dd9ac6 100644 --- a/pimd/pim_igmp.c +++ b/pimd/pim_igmp.c @@ -305,6 +305,13 @@ static int igmp_recv_query(struct igmp_sock *igmp, int query_version, return -1; } + if (!pim_if_connected_to_source(ifp, from)) { + if (PIM_DEBUG_IGMP_PACKETS) + zlog_debug("Recv IGMP query on interface: %s from a non-connected source: %s", + ifp->name, from_str); + return 0; + } + /* Collecting IGMP Rx stats */ switch (query_version) { case 1: