/* Send an IGMP membership report. Depends on whether the server is v1 or v2, it will send either a V1 or V2 membership report. */
EFI_STATUS Ip4SendIgmpReport(IN IP4_SERVICE *IpSb, IN IP4_ADDR Group)
/* Send an IGMP membership report. Depends on whether the server is v1 or v2, it will send either a V1 or V2 membership report. */
EFI_STATUS Ip4SendIgmpReport(IN IP4_SERVICE *IpSb, IN IP4_ADDR Group)
{
  if (IpSb->IgmpCtrl.Igmpv1QuerySeen != 0) {
    return Ip4SendIgmpMessage (IpSb, Group, IGMP_V1_MEMBERSHIP_REPORT, Group);
  } else {
    return Ip4SendIgmpMessage (IpSb, Group, IGMP_V2_MEMBERSHIP_REPORT, Group);
  }
}