diff options
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/ip6-nd/ip6_mld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ip6-nd/ip6_mld.c b/src/vnet/ip6-nd/ip6_mld.c index f1f5a68d33f..6e6a5cab45e 100644 --- a/src/vnet/ip6-nd/ip6_mld.c +++ b/src/vnet/ip6-nd/ip6_mld.c @@ -135,12 +135,12 @@ ip6_neighbor_del_mld_prefix (ip6_mld_t * imd, ip6_address_t * addr) ip6_mldp_group_t *mcast_group_info; uword *p; - p = mhash_get (&imd->address_to_mldp_index, &addr); + p = mhash_get (&imd->address_to_mldp_index, addr); mcast_group_info = p ? pool_elt_at_index (imd->mldp_group_pool, p[0]) : 0; if (mcast_group_info) { - mhash_unset (&imd->address_to_mldp_index, &addr, + mhash_unset (&imd->address_to_mldp_index, addr, /* old_value */ 0); pool_put (imd->mldp_group_pool, mcast_group_info); } |