aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-03-14 16:49:28 +0000
committerGerrit Code Review <gerrit@fd.io>2019-03-14 16:49:28 +0000
commit9c4aded148355148aa90343c51432ddf3598481b (patch)
treeadb7316333191da957e67576ebdaa0aa8063657f
parent943cc1ec6cd6d1d9c7a7afd0543a307e56bf122d (diff)
parentb4412af73542a3a336271d4f4e5a2309558b2e30 (diff)
Merge "[HICN-115] Error when libtransport has to close the connection"
-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_) {