X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fvom%2Fneighbour.cpp;h=44e2760a1ecd51c0e0d25333b6b4050003d5d296;hb=756cd9441752fc8f84104c9ee19099506ba89f85;hp=35e9c46b8e82f88e4e9340ff2505b5983a3c66de;hpb=fd920609819a5b10d3d7c8d34fe4fa4214c7da22;p=vpp.git diff --git a/src/vpp-api/vom/neighbour.cpp b/src/vpp-api/vom/neighbour.cpp index 35e9c46b8e8..44e2760a1ec 100644 --- a/src/vpp-api/vom/neighbour.cpp +++ b/src/vpp-api/vom/neighbour.cpp @@ -15,6 +15,7 @@ #include "vom/neighbour.hpp" #include "vom/neighbour_cmds.hpp" +#include "vom/singular_db_funcs.hpp" namespace VOM { singular_db neighbour::m_db; @@ -81,7 +82,7 @@ std::string neighbour::to_string() const { std::ostringstream s; - s << "arp-entry:[" << m_itf->to_string() << ", " << m_mac.to_string() << ", " + s << "neighbour:[" << m_itf->to_string() << ", " << m_mac.to_string() << ", " << m_ip_addr.to_string() << "]"; return (s.str()); @@ -120,7 +121,7 @@ neighbour::singular() const void neighbour::dump(std::ostream& os) { - m_db.dump(os); + db_dump(m_db, os); } std::ostream& @@ -203,7 +204,7 @@ neighbour::event_handler::order() const void neighbour::event_handler::show(std::ostream& os) { - m_db.dump(os); + db_dump(m_db, os); } }