Deprecate MPLSoGRE tunnels (VPP-502)
[vpp.git] / vnet / vnet / mpls / node.c
index 6801cc7..5b8f256 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * node.c: mpls-o-gre decap processing
+ * node.c: MPLS input
  *
  * Copyright (c) 2012-2014 Cisco and/or its affiliates.
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -110,7 +110,7 @@ mpls_input_inline (vlib_main_t * vm,
           h0 = vlib_buffer_get_current (b0);
          sw_if_index0 = vnet_buffer (b0)->sw_if_index[VLIB_RX];
 
-         cm0 = &mm->rx_config_mains;
+         cm0 = &mm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT];
          b0->current_config_index = vec_elt (cm0->config_index_by_sw_if_index,
                                              sw_if_index0);