From: Aloys Augustin Date: Tue, 23 Jul 2019 08:24:39 +0000 (+0200) Subject: udp: fix connection flags X-Git-Tag: v20.01-rc0~129 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=3b7261978ee4ffdc1e92336e708ae05e2be25f71;p=vpp.git udp: fix connection flags Change-Id: Ib69f9bd7970aeb2ee6a1c114d38dcb7f8698dc6d Type: fix Fixes: c754239 Signed-off-by: Aloys Augustin --- diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h index 88a46db277e..f8eefdac8a1 100644 --- a/src/vnet/udp/udp.h +++ b/src/vnet/udp/udp.h @@ -36,9 +36,9 @@ typedef enum typedef enum { - UDP_CONN_F_CONNECTED, /**< connected mode */ - UDP_CONN_F_OWNS_PORT, /**< port belong to conn (UDPC) */ - UDP_CONN_F_CLOSING, /**< conn closed with data */ + UDP_CONN_F_CONNECTED = 1 << 0, /**< connected mode */ + UDP_CONN_F_OWNS_PORT = 1 << 1, /**< port belong to conn (UDPC) */ + UDP_CONN_F_CLOSING = 2 << 2, /**< conn closed with data */ } udp_conn_flags_t; typedef struct