fw: integrate forwarder, strategy, tables
refs #1131, #1136
Change-Id: Ica58341cdc1ea1dc421693a87f35fc50177a707d
diff --git a/daemon/face/face.cpp b/daemon/face/face.cpp
index 6518117..9c8613b 100644
--- a/daemon/face/face.cpp
+++ b/daemon/face/face.cpp
@@ -8,8 +8,8 @@
namespace nfd {
-Face::Face(FaceId id)
- : m_id(id)
+Face::Face()
+ : m_id(INVALID_FACEID)
{
}
@@ -17,6 +17,18 @@
{
}
+FaceId
+Face::getId() const
+{
+ return m_id;
+}
+
+FaceId
+Face::setId(FaceId faceId)
+{
+ m_id = faceId;
+}
+
bool
Face::isUp() const
{