summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-02-07 09:45:07 +0000
committerNeale Ranns <nranns@cisco.com>2020-02-10 13:02:23 +0000
commitf267d11475d12975ca95cf2f5a61ad0f65ab9f45 (patch)
tree0945f1b49ce06cfb1cd79fc6a02d13d1d9633ba3 /src
parent8ebcb7a99d7b73a1ee5874780b4efdc69d32c82f (diff)
ip-neighbor: fix MLD reports not being sent
Type: fix Change-Id: I8f81cd6c29ff8cb4f0b4850b8b1f6611d89ddb38 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip6-nd/ip6_mld.c6
1 files changed, 3 insertions, 3 deletions
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);