acl-plugin: VPP-1230: fix the "undefined symbol" error for acl_main when using the...
[vpp.git] / src / plugins / gbp / gbp.c
index 5a21d4f..0b87d0b 100644 (file)
@@ -631,6 +631,11 @@ gbp_inline (vlib_main_t * vm,
                          /*
                           * TODO tests against the ACL
                           */
+                         /*
+                          * ACL tables are not available outside of ACL plugin
+                          * until then bypass the ACL to next node
+                          */
+                         vnet_feature_next (sw_if_index0, &next0, b0);
                        }
                    }
                  else
@@ -726,7 +731,7 @@ VLIB_NODE_FUNCTION_MULTIARCH (gbp_4_node, gbp_4);
 VNET_FEATURE_INIT (gbp_4_node, static) = {
     .arc_name = "ip4-unicast",
     .node_name = "gbp4",
-    .runs_after = VNET_FEATURES ("acl-plugin-out-ip4-fa"),
+    .runs_after = VNET_FEATURES ("acl-plugin-in-ip4-fa"),
 };
 
 VLIB_REGISTER_NODE (gbp_6_node) = {
@@ -751,7 +756,7 @@ VLIB_NODE_FUNCTION_MULTIARCH (gbp_6_node, gbp_6);
 VNET_FEATURE_INIT (gbp_6_node, static) = {
     .arc_name = "ip6-unicast",
     .node_name = "gbp6",
-    .runs_after = VNET_FEATURES ("acl-plugin-out-ip6-fa"),
+    .runs_after = VNET_FEATURES ("acl-plugin-in-ip6-fa"),
 };
 /* *INDENT-ON* */