diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-08-20 18:32:39 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-09-10 12:38:30 +0000 |
commit | 61b94c6bc417dbcb11323962b40493e6f7ec2f7e (patch) | |
tree | aa10b1e25de448b4ea13eaf00c4f3e1e98833dc6 /src/plugins/gbp/gbp_policy.c | |
parent | b414d0d23aff66f793c018a75d83af4d29fb1bd4 (diff) |
vxlan-gbp: Add support for vxlan gbp
This patch implements vxlan with extension of group based
policy support.
Change-Id: I70405bf7332c02867286da8958d9652837edd3c2
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_policy.c')
-rw-r--r-- | src/plugins/gbp/gbp_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_policy.c b/src/plugins/gbp/gbp_policy.c index 38254644631..c0a8866e1ee 100644 --- a/src/plugins/gbp/gbp_policy.c +++ b/src/plugins/gbp/gbp_policy.c @@ -110,7 +110,7 @@ gbp_policy (vlib_main_t * vm, key0.gck_dst = gbp_port_to_epg (sw_if_index0); key0.gck_src = vnet_buffer2 (b0)->gbp.src_epg; - if (~0 != key0.gck_src) + if (EPG_INVALID != key0.gck_src) { if (PREDICT_FALSE (key0.gck_src == key0.gck_dst)) { |