From f267d11475d12975ca95cf2f5a61ad0f65ab9f45 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 7 Feb 2020 09:45:07 +0000 Subject: ip-neighbor: fix MLD reports not being sent Type: fix Change-Id: I8f81cd6c29ff8cb4f0b4850b8b1f6611d89ddb38 Signed-off-by: Neale Ranns --- src/vnet/ip6-nd/ip6_mld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/vnet/ip6-nd/ip6_mld.c b/src/vnet/ip6-nd/ip6_mld.c index bd5f8489b7b..f1f5a68d33f 100644 --- a/src/vnet/ip6-nd/ip6_mld.c +++ b/src/vnet/ip6-nd/ip6_mld.c @@ -257,7 +257,7 @@ ip6_neighbor_send_mldpv2_report (u32 sw_if_index) icmp6_multicast_listener_report_header_t *rh0; icmp6_multicast_listener_report_packet_t *rp0; - if (! !vnet_sw_interface_is_admin_up (vnm, sw_if_index)) + if (!vnet_sw_interface_is_admin_up (vnm, sw_if_index)) return; imd = ip6_mld_get_itf (sw_if_index); @@ -390,14 +390,14 @@ ip6_mld_timer_event (vlib_main_t * vm, /* *INDENT-OFF* */ pool_foreach (imd, ip6_mld_pool, ({ - if(!vnet_sw_interface_is_admin_up (vnm, imd->sw_if_index)) + if (!vnet_sw_interface_is_admin_up (vnm, imd->sw_if_index)) { imd->all_routers_mcast = 0; continue; } /* Make sure that we've joined the all-routers multicast group */ - if(!imd->all_routers_mcast) + if (!imd->all_routers_mcast) { /* send MDLP_REPORT_EVENT message */ ip6_neighbor_send_mldpv2_report(imd->sw_if_index); -- cgit 1.2.3-korg