summaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-03-14 16:03:36 +0100
committerAngelo Mantellini <manangel@cisco.com>2019-03-14 16:03:36 +0100
commitb4412af73542a3a336271d4f4e5a2309558b2e30 (patch)
treeafe6801b84f1c77d363f412e219a819387aa8ee9 /libtransport
parent1266a593b683ee2dd3d777d943f48862475e89a7 (diff)
[HICN-115] Error when libtransport has to close the connection
Change-Id: I127319a4a935d74f1a55e49aec33cb545fe5bec4 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/src/hicn/transport/core/portal.h3
1 files changed, 2 insertions, 1 deletions
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_) {