diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-08-01 12:53:17 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-08-03 11:49:39 +0000 |
commit | ce9e0b4d48705d693f4e03093e3f506bdecaf141 (patch) | |
tree | c7b59ffe466f8fce19fb2a536b16958a16efc9b9 /src/vnet/mpls/mpls_lookup.c | |
parent | 40f92469c6c1b7145ad752475350f71d752d8033 (diff) |
loop counter to prevent infiinte number of look ups per-packet
Change-Id: I59235d11baac18785a4c90cdaf14e8f3ddf06dab
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/mpls/mpls_lookup.c')
-rw-r--r-- | src/vnet/mpls/mpls_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_lookup.c b/src/vnet/mpls/mpls_lookup.c index 04a983b9ff0..56492f1368a 100644 --- a/src/vnet/mpls/mpls_lookup.c +++ b/src/vnet/mpls/mpls_lookup.c @@ -696,7 +696,7 @@ VLIB_REGISTER_NODE (mpls_load_balance_node) = { .n_next_nodes = 1, .next_nodes = { - [0] = "mpls-drop", + [MPLS_LOOKUP_NEXT_DROP] = "mpls-drop", }, }; |