When we receive a igmp packet, there is no need
to ensure that it is a igmp packet, as that is
what we have asked for.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
from_str, to_str, igmp->interface->name, len, ip_hlen, ip_hdr->ip_p);
}
- if (ip_hdr->ip_p != PIM_IP_PROTO_IGMP) {
- zlog_warn("IP packet protocol=%d is not IGMP=%d",
- ip_hdr->ip_p, PIM_IP_PROTO_IGMP);
- return -1;
- }
-
igmp_msg = buf + ip_hlen;
msg_type = *igmp_msg;
igmp_msg_len = len - ip_hlen;