From b4412af73542a3a336271d4f4e5a2309558b2e30 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Thu, 14 Mar 2019 16:03:36 +0100 Subject: [HICN-115] Error when libtransport has to close the connection Change-Id: I127319a4a935d74f1a55e49aec33cb545fe5bec4 Signed-off-by: Angelo Mantellini --- libtransport/src/hicn/transport/core/portal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libtransport/src/hicn/transport') diff --git a/libtransport/src/hicn/transport/core/portal.h b/libtransport/src/hicn/transport/core/portal.h index d9051c23c..a88bac964 100644 --- a/libtransport/src/hicn/transport/core/portal.h +++ b/libtransport/src/hicn/transport/core/portal.h @@ -407,7 +407,8 @@ class Portal { } } - TRANSPORT_ALWAYS_INLINE void killConnection() { connector_.close(); } + + TRANSPORT_ALWAYS_INLINE void killConnection() { forwarder_interface_.closeConnection(); } TRANSPORT_ALWAYS_INLINE void clear() { for (auto &pend_interest : pending_interest_hash_table_) { -- cgit 1.2.3-korg