aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r--src/vnet/interface.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index 6eaf50166c0..87addbe67be 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -681,17 +681,14 @@ typedef struct
u32 link_speed;
- union
- {
- /* VNET_SW_INTERFACE_TYPE_HARDWARE. */
- u32 hw_if_index;
+ /* VNET_SW_INTERFACE_TYPE_HARDWARE. */
+ u32 hw_if_index;
- /* VNET_SW_INTERFACE_TYPE_SUB. */
- vnet_sub_interface_t sub;
+ /* VNET_SW_INTERFACE_TYPE_SUB. */
+ vnet_sub_interface_t sub;
- /* VNET_SW_INTERFACE_TYPE_P2P. */
- vnet_p2p_sub_interface_t p2p;
- };
+ /* VNET_SW_INTERFACE_TYPE_P2P. */
+ vnet_p2p_sub_interface_t p2p;
vnet_flood_class_t flood_class;
} vnet_sw_interface_t;