L3Protocol::GetFace now returns face by index, not by ID as it was
before. To get face by ID, L3Protocol::GetFaceById method should be
used instead.
diff --git a/model/ndn-l3-protocol.cc b/model/ndn-l3-protocol.cc
index a32c7fa..86002e3 100644
--- a/model/ndn-l3-protocol.cc
+++ b/model/ndn-l3-protocol.cc
@@ -186,6 +186,13 @@
 Ptr<Face>
 L3Protocol::GetFace (uint32_t index) const
 {
+  NS_ASSERT (0 <= index && index < m_faces.size ());
+  return m_faces[index];
+}
+
+Ptr<Face>
+L3Protocol::GetFaceById (uint32_t index) const
+{
   BOOST_FOREACH (const Ptr<Face> &face, m_faces) // this function is not supposed to be called often, so linear search is fine
     {
       if (face->GetId () == index)