aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls/interface.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-03-16 16:12:57 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-17 11:13:04 +0000
commitb85e43965ec9e23c4ae14b62f4bbfe839f75c427 (patch)
treea771ac3209193eac669652bc35b2c3cc6cfbeb47 /src/vnet/mpls/interface.c
parent3983ac23bea6241c6f3d619043fea08d67be30c3 (diff)
Use the feature anchor in the MPLS input arc - it performs much better
Change-Id: I3d64ddb248478accd4d9b3124f018c9aab63a60f Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mpls/interface.c')
-rw-r--r--src/vnet/mpls/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/mpls/interface.c b/src/vnet/mpls/interface.c
index 692a2d1eb62..f631dc7652c 100644
--- a/src/vnet/mpls/interface.c
+++ b/src/vnet/mpls/interface.c
@@ -66,8 +66,8 @@ mpls_sw_interface_enable_disable (mpls_main_t * mm,
FIB_PROTOCOL_MPLS);
}
- vnet_feature_enable_disable ("mpls-input", "mpls-lookup", sw_if_index,
- is_enable, 0, 0);
+ vnet_feature_enable_disable ("mpls-input", "mpls-not-enabled",
+ sw_if_index, !is_enable, 0, 0);
}