summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/prefix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/prefix.cpp')
-rw-r--r--src/vpp-api/vom/prefix.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vpp-api/vom/prefix.cpp b/src/vpp-api/vom/prefix.cpp
index 269c28f1f54..e754999b6d1 100644
--- a/src/vpp-api/vom/prefix.cpp
+++ b/src/vpp-api/vom/prefix.cpp
@@ -53,6 +53,13 @@ l3_proto_t::from_address(const boost::asio::ip::address& addr)
return IPV4;
}
+std::ostream&
+operator<<(std::ostream& os, const l3_proto_t& l3p)
+{
+ os << l3p.to_string();
+ return os;
+}
+
/*
* Keep this in sync with VPP's dpo_proto_t
*/