X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fmpls%2Fmpls_features.c;h=9ed56dff55474ea47af758e8aaff71bbc9b41d26;hb=a25def7807fb46bd48462be3ec5c598fc79e2a13;hp=2414795515338300d6bf4610112d0d66b922cb91;hpb=b85e43965ec9e23c4ae14b62f4bbfe839f75c427;p=vpp.git diff --git a/src/vnet/mpls/mpls_features.c b/src/vnet/mpls/mpls_features.c index 24147955153..9ed56dff554 100644 --- a/src/vnet/mpls/mpls_features.c +++ b/src/vnet/mpls/mpls_features.c @@ -104,7 +104,7 @@ VNET_FEATURE_ARC_INIT (mpls_input, static) = { .arc_name = "mpls-input", .start_nodes = VNET_FEATURES ("mpls-input"), - .end_node = "mpls-lookup", + .last_in_arc = "mpls-lookup", .arc_index_ptr = &mpls_main.input_feature_arc_index, }; @@ -124,6 +124,7 @@ VNET_FEATURE_ARC_INIT (mpls_output, static) = { .arc_name = "mpls-output", .start_nodes = VNET_FEATURES ("mpls-output", "mpls-midchain"), + .last_in_arc = "interface-output", .arc_index_ptr = &mpls_main.output_feature_arc_index, }; @@ -146,8 +147,6 @@ mpls_sw_interface_add_del (vnet_main_t * vnm, vnet_feature_enable_disable ("mpls-input", "mpls-not-enabled", sw_if_index, is_add, 0, 0); - vnet_feature_enable_disable ("mpls-output", "interface-output", sw_if_index, - is_add, 0, 0); return /* no error */ 0; }