udp: fix connection flags

Change-Id: Ib69f9bd7970aeb2ee6a1c114d38dcb7f8698dc6d
Type: fix
Fixes: c754239
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
This commit is contained in:
Aloys Augustin
2019-07-23 10:24:39 +02:00
committed by Florin Coras
parent 198cba8be5
commit 3b7261978e
+3 -3
View 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