Skip to content

Commit

Permalink
sync: use incomingFace for SVS
Browse files Browse the repository at this point in the history
Change-Id: I28c24fd6d8da58fdfd7f125736ac22af91179fed
  • Loading branch information
pulsejet authored and dulalsaurab committed Jul 21, 2023
1 parent a2599da commit 7543f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/communication/sync-protocol-adapter.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, The University of Memphis,
* Copyright (c) 2014-2023, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
Expand Down Expand Up @@ -163,7 +163,7 @@ SyncProtocolAdapter::onSvsUpdate(const std::vector<ndn::svs::MissingDataInfo>& u
NLSR_LOG_TRACE("Received SVS update event");

for (const auto& update : updates) {
m_syncUpdateCallback(update.nodeId, update.high, 0);
m_syncUpdateCallback(update.nodeId, update.high, update.incomingFace);
}
}
#endif // HAVE_SVS
Expand Down

0 comments on commit 7543f59

Please sign in to comment.