summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-02-21 23:25:17 -0800
committerNeale Ranns <nranns@cisco.com>2019-02-22 13:21:27 +0000
commitfb2e07d89a95272fbf166a500566a699a5fdfd5b (patch)
treeb44b6a3cb06f80bc29f535e5b831dadd0a6cbefe /src
parente5b17918e78c974b43fe41300d2f5d817e89c30b (diff)
GBP: remove testing asserts
Change-Id: I27ba13b3501debd4dcbda5df05afdcfc497f608f Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gbp/gbp_policy.c1
-rw-r--r--src/plugins/gbp/gbp_policy_dpo.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/gbp/gbp_policy.c b/src/plugins/gbp/gbp_policy.c
index 174223e09f7..7b7bd5ca08e 100644
--- a/src/plugins/gbp/gbp_policy.c
+++ b/src/plugins/gbp/gbp_policy.c
@@ -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:
diff --git a/src/plugins/gbp/gbp_policy_dpo.c b/src/plugins/gbp/gbp_policy_dpo.c
index 523e23c4363..213475fbc65 100644
--- a/src/plugins/gbp/gbp_policy_dpo.c
+++ b/src/plugins/gbp/gbp_policy_dpo.c
@@ -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: