Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MPLS hash function improvements
[vpp.git]
/
src
/
vnet
/
dpo
/
mpls_label_dpo.c
diff --git
a/src/vnet/dpo/mpls_label_dpo.c
b/src/vnet/dpo/mpls_label_dpo.c
index
1847953
..
1c451a5
100644
(file)
--- a/
src/vnet/dpo/mpls_label_dpo.c
+++ b/
src/vnet/dpo/mpls_label_dpo.c
@@
-356,7
+356,7
@@
mpls_label_imposition_inline (vlib_main_t * vm,
}
if (PREDICT_TRUE(vnet_buffer(b2)->mpls.first))
{
}
if (PREDICT_TRUE(vnet_buffer(b2)->mpls.first))
{
- ASSERT(
2
!= vnet_buffer (b2)->mpls.ttl);
+ ASSERT(
1
!= vnet_buffer (b2)->mpls.ttl);
ttl2 = vnet_buffer(b2)->mpls.ttl - 1;
}
ttl2 = vnet_buffer(b2)->mpls.ttl - 1;
}