]> git.puffer.fish Git - mirror/frr.git/commit
pimd: FRR drops IGMP packets for TOS value other than 0XC0 10703/head
authorMobashshera Rasool <mrasool@vmware.com>
Fri, 25 Feb 2022 06:10:52 +0000 (22:10 -0800)
committermergify-bot <noreply@mergify.com>
Tue, 1 Mar 2022 19:33:57 +0000 (19:33 +0000)
commit683716e261bd01d4ad077373dcf9ae900f474a38
treec9cf081cf1956eb6eee9f2ddd6ab4151137bd046
parentc81e85e1ba12fa9c075559803dfcf52021acf8b5
pimd: FRR drops IGMP packets for TOS value other than 0XC0

Currently the code is expecting the TOS value for received
packet to be 0xC0 and hence it is discarding packets having
TOS value other than 0xc0.

We need to make sure that we are sending the packet with
TOS 0xC0 and while receiving we can allow any TOS value.
Let's follow Postel's law.
Checked Cisco behavior as well. It also accepts all TOS values.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
(cherry picked from commit baee5b57fc08658bab0207ecdc5ef48d705de8fb)
pimd/pim_igmp.c