Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: don't shift flags twice
[vpp.git]
/
src
/
vnet
/
adj
/
adj_midchain.c
diff --git
a/src/vnet/adj/adj_midchain.c
b/src/vnet/adj/adj_midchain.c
index
b32a0e4
..
268d940
100644
(file)
--- a/
src/vnet/adj/adj_midchain.c
+++ b/
src/vnet/adj/adj_midchain.c
@@
-519,7
+519,10
@@
adj_nbr_midchain_update_rewrite (adj_index_t adj_index,
* one time only update. since we don't support chainging the tunnel
* src,dst, this is all we need.
*/
* one time only update. since we don't support chainging the tunnel
* src,dst, this is all we need.
*/
- ASSERT(adj->lookup_next_index == IP_LOOKUP_NEXT_ARP);
+ ASSERT((adj->lookup_next_index == IP_LOOKUP_NEXT_ARP) ||
+ (adj->lookup_next_index == IP_LOOKUP_NEXT_GLEAN) ||
+ (adj->lookup_next_index == IP_LOOKUP_NEXT_BCAST));
+
/*
* tunnels can always provide a rewrite.
*/
/*
* tunnels can always provide a rewrite.
*/