bridge domain: fix members reordered when removing 84/5584/3
authorEyal Bari <ebari@cisco.com>
Thu, 2 Mar 2017 08:43:19 +0000 (10:43 +0200)
committerJohn Lo <loj@cisco.com>
Thu, 2 Mar 2017 19:43:18 +0000 (19:43 +0000)
commit25b36674f7e9072084f8f149067450f5eb6a5841
tree9221d46f59f60820cd2428404f4e20bf3481864b
parent23caa885afad3501ea95b52cdbc64c0d48072a83
bridge domain: fix members reordered when removing

since adding support for multicast vxlan flooding (flood class tunnel master)
correct flood functionality depends on the order of the memebers vector

solved by using vec_delete instead of vec_del1 which swaps members before deleting the last element

Change-Id: I234f218d49172b4142c567db9699a5cb274e4a66
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/vnet/l2/l2_bd.c