diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2017-12-20 08:49:51 -0800 |
---|---|---|
committer | Neale Ranns <neale.ranns@cisco.com> | 2018-01-02 00:47:16 -0800 |
commit | 041fa507c085010d55d18088321faa64d345bb88 (patch) | |
tree | 86de7e132d5052bf4ddd6c302502797c05bd2cf2 /src/vpp-api/vom/prefix.cpp | |
parent | b795bd0c5cadfc6734ee8b2355cbc3965be0a1c1 (diff) |
VOM: NAT updates
Change-Id: I112afaa1f2ccd2ee62a436c73802afaea9b44779
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/prefix.cpp')
-rw-r--r-- | src/vpp-api/vom/prefix.cpp | 7 |
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 */ |