aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-07-15 16:29:19 +0200
committerNeale Ranns <nranns@cisco.com>2019-07-16 15:46:16 +0000
commit31b315707f148a087a206214159d8957cc9f9cfb (patch)
tree24b8365b519fd241bc305cda8897797fa17d9fd4 /src
parent41afb33efe81a93ddf5879138802bf23602ccc81 (diff)
gbp: fix contracts dpo ACL match
Type: fix Fixes: 1d6d9f021c5a169dedca55b46451ab54728e3ee8 Change-Id: I3912c8bb78d678170bdd86821d2ead3ae0396841 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gbp/gbp_contract.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/gbp/gbp_contract.h b/src/plugins/gbp/gbp_contract.h
index c87af522286..139de1c372b 100644
--- a/src/plugins/gbp/gbp_contract.h
+++ b/src/plugins/gbp/gbp_contract.h
@@ -310,9 +310,9 @@ gbp_contract_apply (vlib_main_t * vm, gbp_main_t * gm,
action = 0;
acl_plugin_fill_5tuple_inline (gm->acl_plugin.p_acl_main,
contract->gc_lc_index, b, ip6,
- 0 /* is_input */ ,
- GBP_CONTRACT_APPLY_L2 ==
- type /* is_l2_path */ , &fa_5tuple);
+ GBP_CONTRACT_APPLY_L2 != type /* input */ ,
+ GBP_CONTRACT_APPLY_L2 == type /* l2_path */ ,
+ &fa_5tuple);
acl_plugin_match_5tuple_inline (gm->acl_plugin.p_acl_main,
contract->gc_lc_index, &fa_5tuple, ip6,
&action, &acl_pos, &acl_match, &rule_match,