GBP: remove testing asserts 67/17767/2
authorNeale Ranns <nranns@cisco.com>
Fri, 22 Feb 2019 07:25:17 +0000 (23:25 -0800)
committerNeale Ranns <nranns@cisco.com>
Fri, 22 Feb 2019 13:21:27 +0000 (13:21 +0000)
Change-Id: I27ba13b3501debd4dcbda5df05afdcfc497f608f
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/plugins/gbp/gbp_policy.c
src/plugins/gbp/gbp_policy_dpo.c

index 174223e..7b7bd5c 100644 (file)
@@ -288,7 +288,6 @@ gbp_policy_inline (vlib_main_t * vm,
                                      L2OUTPUT_FEAT_GBP_POLICY_MAC));
                                  break;
                                case GBP_RULE_DENY:
-                                 ASSERT (0);
                                  next0 = 0;
                                  break;
                                case GBP_RULE_REDIRECT:
index 523e23c..213475f 100644 (file)
@@ -343,7 +343,6 @@ gbp_policy_dpo_inline (vlib_main_t * vm,
                              next0 = gpd0->gpd_dpo.dpoi_next_node;
                              break;
                            case GBP_RULE_DENY:
-                             ASSERT (0);
                              next0 = 0;
                              break;
                            case GBP_RULE_REDIRECT: