if (flags & GBP_EXT_ITF_F_ANON)
{
/* add interface to the BD */
- index_t itf = gbp_itf_add_and_lock (sw_if_index, bd_id);
+ index_t itf = gbp_itf_add_and_lock (sw_if_index,
+ gbp_bridge_domain_get
+ (gbi)->gb_bd_index);
/* setup GBP L2 features on this interface */
gbp_itf_set_l2_input_feature (itf, 0,
L2INPUT_FEAT_GBP_LPM_ANON_CLASSIFY |