summaryrefslogtreecommitdiff
path: root/pimd/pim_igmp.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2022-03-01 13:31:49 -0600
committerGitHub <noreply@github.com>2022-03-01 13:31:49 -0600
commit5aad2b6a8244c555afc91ef5b64c3f85117af77c (patch)
tree241d3bdd789f7b4de6a94c171e5c67140635d020 /pimd/pim_igmp.c
parentec616c97bab6a549bec36f6bb295ae214dc69a44 (diff)
parentbaee5b57fc08658bab0207ecdc5ef48d705de8fb (diff)
Merge pull request #10652 from mobash-rasool/fixes
pimd: FRR drops IGMP packets for TOS value other than 0XC0
Diffstat (limited to 'pimd/pim_igmp.c')
-rw-r--r--pimd/pim_igmp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c
index 34268ecf90..5cdefd2828 100644
--- a/pimd/pim_igmp.c
+++ b/pimd/pim_igmp.c
@@ -526,17 +526,6 @@ bool pim_igmp_verify_header(struct ip *ip_hdr, size_t len, size_t *hlen)
}
}
- if ((msg_type == PIM_IGMP_V3_MEMBERSHIP_REPORT)
- || ((msg_type == PIM_IGMP_MEMBERSHIP_QUERY)
- && (igmp_msg_len >= IGMP_V3_SOURCES_OFFSET))) {
- /* All IGMPv3 messages must be received with TOS set to 0xC0*/
- if (ip_hdr->ip_tos != IPTOS_PREC_INTERNETCONTROL) {
- zlog_warn("Received IGMP Packet with invalid TOS %u",
- ip_hdr->ip_tos);
- return false;
- }
- }
-
return true;
}