lsdb: Fetch LSA from the face the notification about LSAs came from
Change-Id: Iadb7a22bcc8b2d7801787e5d88b37eec4eafc974
diff --git a/src/communication/sync-protocol-adapter.cpp b/src/communication/sync-protocol-adapter.cpp
index ae08e3a..81ec6f3 100644
--- a/src/communication/sync-protocol-adapter.cpp
+++ b/src/communication/sync-protocol-adapter.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2021, The University of Memphis,
+ * Copyright (c) 2014-2022, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -101,7 +101,7 @@
for (const auto& update : updates) {
// Remove FIXED_SESSION
- m_syncUpdateCallback(update.session.getPrefix(-1), update.high);
+ m_syncUpdateCallback(update.session.getPrefix(-1), update.high, 0);
}
}
#endif
@@ -112,8 +112,8 @@
NLSR_LOG_TRACE("Received PSync update event");
for (const auto& update : updates) {
- m_syncUpdateCallback(update.prefix, update.highSeq);
+ m_syncUpdateCallback(update.prefix, update.highSeq, update.incomingFace);
}
}
-} // namespace nlsr
\ No newline at end of file
+} // namespace nlsr