udp: fix connection flags 87/20787/6
authorAloys Augustin <aloaugus@cisco.com>
Tue, 23 Jul 2019 08:24:39 +0000 (10:24 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 23 Jul 2019 16:46:13 +0000 (16:46 +0000)
Change-Id: Ib69f9bd7970aeb2ee6a1c114d38dcb7f8698dc6d
Type: fix
Fixes: c754239
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
src/vnet/udp/udp.h

index 88a46db..f8eefda 100644 (file)
@@ -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