Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP crash on creating vxlan gpe interface. VPP-875
[vpp.git]
/
src
/
vnet
/
vxlan-gpe
/
vxlan_gpe.c
diff --git
a/src/vnet/vxlan-gpe/vxlan_gpe.c
b/src/vnet/vxlan-gpe/vxlan_gpe.c
index
3a92c88
..
fab887a
100644
(file)
--- a/
src/vnet/vxlan-gpe/vxlan_gpe.c
+++ b/
src/vnet/vxlan-gpe/vxlan_gpe.c
@@
-83,6
+83,9
@@
u8 * format_vxlan_gpe_tunnel (u8 * s, va_list * args)
s = format (s, "next-protocol unknown %d", t->protocol);
}
s = format (s, "next-protocol unknown %d", t->protocol);
}
+ if (ip46_address_is_multicast (&t->remote))
+ s = format (s, "mcast_sw_if_index %d ", t->mcast_sw_if_index);
+
s = format (s, " fibs: (encap %d, decap %d)",
t->encap_fib_index,
t->decap_fib_index);
s = format (s, " fibs: (encap %d, decap %d)",
t->encap_fib_index,
t->decap_fib_index);