summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gbp/gbp_policy_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gbp/gbp_policy_node.c b/src/plugins/gbp/gbp_policy_node.c
index fd2e29cb688..7bbcffa5b47 100644
--- a/src/plugins/gbp/gbp_policy_node.c
+++ b/src/plugins/gbp/gbp_policy_node.c
@@ -165,6 +165,7 @@ gbp_policy_inline (vlib_main_t * vm,
/* zero out the key to ensure the pad space is clear */
key0.as_u64 = 0;
+ key0.gck_src = vnet_buffer2 (b0)->gbp.sclass;
key0.gck_dst = SCLASS_INVALID;
if (GBP_POLICY_LPM == type)