summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-02-21 05:28:11 -0800
committerNeale Ranns <nranns@cisco.com>2019-02-21 14:25:11 +0000
commit0503aceeb53d7b0d81af6e7c62ae92f60ac25376 (patch)
tree0faa8127d2e8d8d353fe0b992b70095c8b3dae16 /src
parentdfae9f938f81480995a7ef20a63d016e57dd2899 (diff)
GBP: BD index not BD ID
Change-Id: I6da1ea25d688011b7aead1f639dd6a234ca4f20a Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gbp/gbp_vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gbp/gbp_vxlan.c b/src/plugins/gbp/gbp_vxlan.c
index 7fbd7e9e7d5..c7be90f0e36 100644
--- a/src/plugins/gbp/gbp_vxlan.c
+++ b/src/plugins/gbp/gbp_vxlan.c
@@ -721,7 +721,7 @@ gbp_vxlan_tunnel_add (u32 vni, gbp_vxlan_tunnel_layer_t layer,
gb = gbp_bridge_domain_get (gbi);
gt->gt_gbd = gbi;
- gt->gt_bd_index = gb->gb_bd_id;
+ gt->gt_bd_index = gb->gb_bd_index;
gb->gb_vni_sw_if_index = gt->gt_sw_if_index;
/* set it up as a GBP interface */
gt->gt_itf = gbp_itf_add_and_lock (gt->gt_sw_if_index,