Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b5adaea
)
Give correct argument to ip_call_add_del_adjacency_callbacks
25/1625/2
author
Pierre Pfister
<ppfister@cisco.com>
Fri, 17 Jun 2016 14:52:44 +0000
(15:52 +0100)
committer
Chris Luke
<chris_luke@cable.comcast.com>
Sat, 18 Jun 2016 02:50:44 +0000
(
02:50
+0000)
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>
vnet/vnet/ip/ip6_forward.c
patch
|
blob
|
history
diff --git
a/vnet/vnet/ip/ip6_forward.c
b/vnet/vnet/ip/ip6_forward.c
index
f77b99e
..
86ee8d5
100644
(file)
--- a/
vnet/vnet/ip/ip6_forward.c
+++ b/
vnet/vnet/ip/ip6_forward.c
@@
-350,7
+350,7
@@
ip6_add_del_route_next_hop (ip6_main_t * im,
ip6_adjacency_set_interface_route (vnm, adj,
next_hop_sw_if_index, ~0);
ip_call_add_del_adjacency_callbacks
- (lm, n
ext_hop_sw_if
_index, /* is_del */ 0);
+ (lm, n
h_adj
_index, /* is_del */ 0);
hash_set (im->interface_route_adj_index_by_sw_if_index,
next_hop_sw_if_index, nh_adj_index);
}