aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-05-30 09:53:52 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-01 17:15:44 +0000
commitc2aad53aa5430137ac5a76a8746f11604277835a (patch)
tree869340b20ecee5d88d8ebac60540fe927c02e34e /src/vnet/adj
parent10d8cc6bf92851fcaec4a6b4c6d3554dc1eb2386 (diff)
IP Mcast - recalculate on interface up/dowm
Change-Id: Ie5b88fd7187ed62218a2e4e0e493c33e3e9ecc2f Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/adj')
-rw-r--r--src/vnet/adj/adj_mcast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/adj/adj_mcast.c b/src/vnet/adj/adj_mcast.c
index 755abfd4639..da06cd00b4e 100644
--- a/src/vnet/adj/adj_mcast.c
+++ b/src/vnet/adj/adj_mcast.c
@@ -230,9 +230,9 @@ VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION(adj_mcast_interface_state_change);
* HW interface state changes
*/
static void
-adj_nbr_hw_sw_interface_state_change (vnet_main_t * vnm,
- u32 sw_if_index,
- void *arg)
+adj_mcast_hw_sw_interface_state_change (vnet_main_t * vnm,
+ u32 sw_if_index,
+ void *arg)
{
adj_mcast_interface_state_change(vnm, sw_if_index, (uword) arg);
}
@@ -255,7 +255,7 @@ adj_mcast_hw_interface_state_change (vnet_main_t * vnm,
0);
vnet_hw_interface_walk_sw(vnm, hw_if_index,
- adj_nbr_hw_sw_interface_state_change,
+ adj_mcast_hw_sw_interface_state_change,
(void*) sw_flags);
return (NULL);