diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-03-14 16:49:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-03-14 16:49:28 +0000 |
commit | 9c4aded148355148aa90343c51432ddf3598481b (patch) | |
tree | adb7316333191da957e67576ebdaa0aa8063657f /libtransport | |
parent | 943cc1ec6cd6d1d9c7a7afd0543a307e56bf122d (diff) | |
parent | b4412af73542a3a336271d4f4e5a2309558b2e30 (diff) |
Merge "[HICN-115] Error when libtransport has to close the connection"
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/hicn/transport/core/portal.h | 3 |
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_) { |