aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/route_domain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/route_domain.cpp')
-rw-r--r--src/vpp-api/vom/route_domain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vpp-api/vom/route_domain.cpp b/src/vpp-api/vom/route_domain.cpp
index 08357faa6c5..c723f9f31b6 100644
--- a/src/vpp-api/vom/route_domain.cpp
+++ b/src/vpp-api/vom/route_domain.cpp
@@ -43,6 +43,12 @@ route_domain::route_domain(const route_domain& o)
{
}
+bool
+route_domain::operator==(const route_domain& r) const
+{
+ return (m_table_id == r.m_table_id);
+}
+
route::table_id_t
route_domain::table_id() const
{