Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
gbp: Ownership of dynamically created vxlan-gbp tunnels managed via gbp_itf
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_contract.c
diff --git
a/src/plugins/gbp/gbp_contract.c
b/src/plugins/gbp/gbp_contract.c
index
c7c2378
..
452c5a5
100644
(file)
--- a/
src/plugins/gbp/gbp_contract.c
+++ b/
src/plugins/gbp/gbp_contract.c
@@
-275,7
+275,10
@@
gbp_contract_mk_adj (gbp_next_hop_t * gnh, fib_protocol_t fproto)
gnh->gnh_ai[fproto] =
adj_nbr_add_or_lock_w_rewrite (fproto,
fib_proto_to_link (fproto),
- &gnh->gnh_ip, ge->ge_fwd.gef_itf, rewrite);
+ &gnh->gnh_ip,
+ gbp_itf_get_sw_if_index (ge->
+ ge_fwd.gef_itf),
+ rewrite);
adj_unlock (old_ai);
}