summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/interface.cpp')
-rw-r--r--src/vpp-api/vom/interface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vpp-api/vom/interface.cpp b/src/vpp-api/vom/interface.cpp
index 1c9f20d2a5d..1c90a31bb32 100644
--- a/src/vpp-api/vom/interface.cpp
+++ b/src/vpp-api/vom/interface.cpp
@@ -125,6 +125,12 @@ interface::type() const
const handle_t&
interface::handle() const
{
+ return (singular()->handle_i());
+}
+
+const handle_t&
+interface::handle_i() const
+{
return (m_hdl.data());
}