aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-06-14 07:49:50 +0000
committerNeale Ranns <nranns@cisco.com>2019-07-08 15:26:00 +0000
commit69a85b5054b369ee33322adadfa6c283a44741e0 (patch)
treeaa9c4a863527ff2e7b25e8a0b415e9ace346183c /src/plugins
parent61ad550c492719a8d214e0acdcb04d494e46b7ce (diff)
gbp: More unit tests
Type: test Change-Id: I0a58cc19bdfb73eabadbf6eb49b57e8db96959b5 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins')
-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)