aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/nat_static.hpp
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-01-04 01:11:44 -0800
committerNeale Ranns <nranns@cisco.com>2018-01-04 01:11:44 -0800
commit842eb22e5d5a7e11114fe093eeccafb080e9aa8b (patch)
treeb16167c27248fc9b1f5d8814f2c5680a2dc00fba /src/vpp-api/vom/nat_static.hpp
parent2d506675d1e0464545d28754618bc4829428a984 (diff)
VOM: NAT coverity found bugs
Change-Id: Ic55ad2e0a1435f552ce84ed1a9b1981191bc178b Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/nat_static.hpp')
-rw-r--r--src/vpp-api/vom/nat_static.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/nat_static.hpp b/src/vpp-api/vom/nat_static.hpp
index 4c2dab15325..3b0d2d06ccc 100644
--- a/src/vpp-api/vom/nat_static.hpp
+++ b/src/vpp-api/vom/nat_static.hpp
@@ -168,12 +168,12 @@ private:
/**
* The 'inside' IP address, could be v4 or v6
*/
- const boost::asio::ip::address& m_inside;
+ const boost::asio::ip::address m_inside;
/**
* The 'outside' IP address - always v4
*/
- const boost::asio::ip::address_v4& m_outside;
+ const boost::asio::ip::address_v4 m_outside;
/**
* A map of all NAT statics