Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VOM: NAT updates
[vpp.git]
/
src
/
vpp-api
/
vom
/
prefix.cpp
diff --git
a/src/vpp-api/vom/prefix.cpp
b/src/vpp-api/vom/prefix.cpp
index
269c28f
..
e754999
100644
(file)
--- 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
*/