X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip6-nd%2Fip6_mld.c;h=ea70bcc5d19b38f8bb944d764cc69d038095980c;hb=b2c31b685fd2cf28436ca32bc93e23eb24c74878;hp=2a95c84eb0ba09fab6d165f4d4270d79a1c374cc;hpb=62c25abaa3e93be5815172d391295a6ab0390122;p=vpp.git diff --git a/src/vnet/ip6-nd/ip6_mld.c b/src/vnet/ip6-nd/ip6_mld.c index 2a95c84eb0b..ea70bcc5d19 100644 --- a/src/vnet/ip6-nd/ip6_mld.c +++ b/src/vnet/ip6-nd/ip6_mld.c @@ -327,8 +327,8 @@ ip6_neighbor_send_mldpv2_report (u32 sw_if_index) rh0->icmp.checksum = 0; /* *INDENT-OFF* */ - pool_foreach (m, imd->mldp_group_pool, - ({ + pool_foreach (m, imd->mldp_group_pool) + { rr.type = m->type; rr.aux_data_len_u32s = 0; rr.num_sources = clib_host_to_net_u16 (m->num_sources); @@ -344,7 +344,7 @@ ip6_neighbor_send_mldpv2_report (u32 sw_if_index) } payload_length += sizeof( icmp6_multicast_address_record_t); - })); + } /* *INDENT-ON* */ rh0->rsvd = 0; @@ -389,8 +389,8 @@ ip6_mld_timer_event (vlib_main_t * vm, /* Interface ip6 radv info list */ /* *INDENT-OFF* */ - pool_foreach (imd, ip6_mld_pool, - ({ + pool_foreach (imd, ip6_mld_pool) + { if (!vnet_sw_interface_is_admin_up (vnm, imd->sw_if_index)) { imd->all_routers_mcast = 0; @@ -404,7 +404,7 @@ ip6_mld_timer_event (vlib_main_t * vm, ip6_neighbor_send_mldpv2_report(imd->sw_if_index); imd->all_routers_mcast = 1; } - })); + } /* *INDENT-ON* */ return 0; @@ -454,13 +454,13 @@ format_ip6_mld (u8 * s, va_list * args) s = format (s, "%UJoined group address(es):\n", format_white_space, indent); /* *INDENT-OFF* */ - pool_foreach (m, imd->mldp_group_pool, - ({ + pool_foreach (m, imd->mldp_group_pool) + { s = format (s, "%U%U\n", format_white_space, indent+2, format_ip6_address, &m->mcast_address); - })); + } /* *INDENT-ON* */ return (s);