aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/connection.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-07-29 09:05:08 +0200
committerMauro Sardara <msardara@cisco.com>2020-09-09 11:08:44 +0200
commitaba0a8ce4aeae0392b71658e9afaedc0d857a1a7 (patch)
tree739c9b88fd6696a992893c4f4d1c2af7c100032d /hicn-light/src/hicn/core/connection.h
parentd5071d0c80e1da5e28c2430ba4b579b886373cd2 (diff)
[HICN-555] Reworked loop
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ia837da43b797a3f4d30d832e7ad2b0ec8cc3fefe Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/core/connection.h')
-rw-r--r--hicn-light/src/hicn/core/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/core/connection.h b/hicn-light/src/hicn/core/connection.h
index 45d341ab8..6297e193c 100644
--- a/hicn-light/src/hicn/core/connection.h
+++ b/hicn-light/src/hicn/core/connection.h
@@ -86,7 +86,7 @@ typedef struct {
#define connection_id_is_valid(ID) (ID != CONNECTION_ID_UNDEFINED)
#define connection_get_name(C) ((C)->name)
#define connection_get_type(C) ((C)->type)
-#define connection_has_valid_id(C) (connection_id_is_valid(connection_get_id(C))
+#define connection_has_valid_id(C) (connection_id_is_valid(connection_get_id(C)))
#define connection_get_pair(C) (&(C)->pair)
#define connection_get_local(C) (address_pair_local(connection_get_pair(C)))
#define connection_get_remote(C) (address_pair_remote(connection_get_pair(C)))