summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b5adaea)
ip_call_add_del_adjacency_callbacks requires an adjacency index, not a
sw_if_index.
Change-Id: I4ae6a6bbbe0abee4791217463d353c56f9735ba3
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
ip6_adjacency_set_interface_route (vnm, adj,
next_hop_sw_if_index, ~0);
ip_call_add_del_adjacency_callbacks
ip6_adjacency_set_interface_route (vnm, adj,
next_hop_sw_if_index, ~0);
ip_call_add_del_adjacency_callbacks
- (lm, next_hop_sw_if_index, /* is_del */ 0);
+ (lm, nh_adj_index, /* is_del */ 0);
hash_set (im->interface_route_adj_index_by_sw_if_index,
next_hop_sw_if_index, nh_adj_index);
}
hash_set (im->interface_route_adj_index_by_sw_if_index,
next_hop_sw_if_index, nh_adj_index);
}