The BRCTL_GET_PORT_LIST ioctl is not supposed to include the bridge port
itself in the list of ports, but ovs-brcompatd was doing that.
svec_init(&ports);
get_bridge_ports(ovs_bridge, &ports, br_vlan);
svec_init(&ports);
get_bridge_ports(ovs_bridge, &ports, br_vlan);
+ svec_sort(&ports);
+ svec_del(&ports, linux_bridge);
send_ifindex_reply(seq, &ports); /* XXX bonds won't show up */
svec_destroy(&ports);
send_ifindex_reply(seq, &ports); /* XXX bonds won't show up */
svec_destroy(&ports);