]> git.puffer.fish Git - mirror/frr.git/commit
pimd: FRR drops IGMP packets for TOS value other than 0XC0 10652/head
authorMobashshera Rasool <mrasool@vmware.com>
Fri, 25 Feb 2022 06:10:52 +0000 (22:10 -0800)
committerMobashshera Rasool <mrasool@vmware.com>
Fri, 25 Feb 2022 06:10:52 +0000 (22:10 -0800)
commitbaee5b57fc08658bab0207ecdc5ef48d705de8fb
tree72cb50c95109c83f5120aabf1210218dcdcf69a5
parent41ff140670e1c1a0cfbea682000a1cfe3a0cc1a0
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>
pimd/pim_igmp.c