commit | 71275e3d1ed4b7a536b7ec8d13995743beccde6b | [log] [tgz] |
---|---|---|
author | Neale Ranns <nranns@cisco.com> | Thu May 25 12:38:58 2017 -0700 |
committer | Damjan Marion <dmarion.lists@gmail.com> | Thu May 25 21:03:11 2017 +0000 |
tree | 8d900abc4a7b4365a75c5c88b7cf556ea537fd0a | |
parent | 3d0723d3e085c8a69e1827e2e5607281b90576d7 [diff] [blame] |
MPLS hash function improvements Change-Id: I28e98f445c01493562b6196a4f5b532a51f178af Signed-off-by: Neale Ranns <nranns@cisco.com>
diff --git a/src/vnet/dpo/mpls_label_dpo.c b/src/vnet/dpo/mpls_label_dpo.c index 1847953..1c451a5 100644 --- a/src/vnet/dpo/mpls_label_dpo.c +++ b/src/vnet/dpo/mpls_label_dpo.c
@@ -356,7 +356,7 @@ } 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; }