diff options
author | Neale Ranns <nranns@cisco.com> | 2018-10-29 01:55:24 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-10-29 03:38:31 -0700 |
commit | b3a9381ad54ea30bf872cf781023e353a89ebaa6 (patch) | |
tree | ce199a349fdc7941c9a3a5522a1ddd4900aee04b /src/vnet/interface.h | |
parent | 0c2319fe2b520776a5d947def4be30b8517896b2 (diff) |
interface-flags; fix coverity error found in conversion
Change-Id: I2eafac4ce810fe53454b729d81161ec80d036db7
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r-- | src/vnet/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
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), |