aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/protocols/rtc.cc
diff options
context:
space:
mode:
authormichele papalini <micpapal+fdio@cisco.com>2019-01-22 10:16:53 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-01-22 09:20:37 +0000
commitb8bd68b9544b7e4463178f54b54850cc44f2cb0e (patch)
treedf076c44dfb930ccc3428d6648572bedf6e4de7f /libtransport/src/hicn/transport/protocols/rtc.cc
parent7d710d62fcb2a15505a7a0fc8feb91b8342fafd6 (diff)
jira issue HICN-7
Change-Id: Id07bd589e06852f0788b823735af1b95e09bba0a Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/rtc.cc')
-rw-r--r--libtransport/src/hicn/transport/protocols/rtc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc
index ee90e5d9e..f73b40d1b 100644
--- a/libtransport/src/hicn/transport/protocols/rtc.cc
+++ b/libtransport/src/hicn/transport/protocols/rtc.cc
@@ -102,6 +102,7 @@ void RTCTransportProtocol::onRTCPPacket(uint8_t *packet, size_t len) {
// private
void RTCTransportProtocol::reset() {
+ portal_->setConsumerCallback(this);
// controller var
lastRoundBegin_ = std::chrono::steady_clock::now();
currentState_ = RTC_SYNC_STATE;