aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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,