#include "vom/neighbour.hpp"
#include "vom/neighbour_cmds.hpp"
+#include "vom/singular_db_funcs.hpp"
namespace VOM {
singular_db<neighbour::key_t, neighbour> neighbour::m_db;
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());
void
neighbour::dump(std::ostream& os)
{
- m_db.dump(os);
+ db_dump(m_db, os);
}
std::ostream&
void
neighbour::event_handler::show(std::ostream& os)
{
- m_db.dump(os);
+ db_dump(m_db, os);
}
}