Fix issue with xconnect not working on the main interface
Due to union, l2 sub-interface bits were wrongly set
causing sporadic misconfiguration of l2 mode on some
interfaces.
@@ -681,8 +681,6 @@ typedef struct
u32 link_speed;
- union
- {
/* VNET_SW_INTERFACE_TYPE_HARDWARE. */
u32 hw_if_index;
@@ -691,7 +689,6 @@ typedef struct
/* VNET_SW_INTERFACE_TYPE_P2P. */
vnet_p2p_sub_interface_t p2p;
- };
vnet_flood_class_t flood_class;
} vnet_sw_interface_t;
