From b3a9381ad54ea30bf872cf781023e353a89ebaa6 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 29 Oct 2018 01:55:24 -0700 Subject: interface-flags; fix coverity error found in conversion Change-Id: I2eafac4ce810fe53454b729d81161ec80d036db7 Signed-off-by: Neale Ranns --- src/vnet/interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/interface.h') diff --git a/src/vnet/interface.h b/src/vnet/interface.h index 5c15d29f453..9be38709020 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -484,6 +484,7 @@ __VA_ARGS__ vnet_hw_interface_class_t x typedef enum vnet_hw_interface_flags_t_ { + VNET_HW_INTERFACE_FLAG_NONE, /* Hardware link state is up. */ VNET_HW_INTERFACE_FLAG_LINK_UP = (1 << 0), /* Hardware duplex state */ @@ -692,7 +693,7 @@ extern vnet_mtu_t vnet_link_to_mtu (vnet_link_t link); typedef enum vnet_sw_interface_flags_t_ { - VNET_SW_INTERFACE_FLAG_ADMIN_NONE = 0, + VNET_SW_INTERFACE_FLAG_NONE = 0, /* Interface is "up" meaning administratively up. Up in the sense of link state being up is maintained by hardware interface. */ VNET_SW_INTERFACE_FLAG_ADMIN_UP = (1 << 0), -- cgit 1.2.3-korg