face: Fixing bug with InternalFace considered not local and changing "isLocal" method to be pure virtual
This way the decision about the face locality has to be done explicitly
inside specific face implementation and potentially avoids problems.
Change-Id: I5219cce87385313546453d14a5a7ca4542893911
diff --git a/daemon/face/tcp-face.cpp b/daemon/face/tcp-face.cpp
index 774a4d0..874de98 100644
--- a/daemon/face/tcp-face.cpp
+++ b/daemon/face/tcp-face.cpp
@@ -18,4 +18,11 @@
{
}
+bool
+TcpFace::isLocal() const
+{
+ return false;
+}
+
+
} // namespace nfd