aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2017-12-05 14:48:58 +0100
committerNeale Ranns <nranns@cisco.com>2017-12-08 13:52:09 +0000
commit0708515198710c713fdd07f5519e1fb6ea594948 (patch)
tree5d713895b1763fc0d35b76417df395e71da72dbe /src/vpp-api
parentd3464b5b4aeea0804e6cc3e1b220673e98d9c4a5 (diff)
vom: acl-l3: Fix pretty print for TCP mask and flags
Change-Id: If14d1b2d9b73de77321d94f10d48fa1bb04846f6 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api')
-rw-r--r--src/vpp-api/vom/acl_l3_rule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/acl_l3_rule.cpp b/src/vpp-api/vom/acl_l3_rule.cpp
index 2b850af3660..6a9383aba0b 100644
--- a/src/vpp-api/vom/acl_l3_rule.cpp
+++ b/src/vpp-api/vom/acl_l3_rule.cpp
@@ -69,8 +69,8 @@ l3_rule::to_string() const
<< " srcportto: " << m_srcport_or_icmptype_last
<< " dstportfrom:" << m_dstport_or_icmpcode_first
<< " dstportto:" << m_dstport_or_icmpcode_last
- << " tcpflagmask:" << m_tcp_flags_mask
- << " tcpflagvalue:" << m_tcp_flags_value << "]";
+ << " tcpflagmask:" << std::to_string(m_tcp_flags_mask)
+ << " tcpflagvalue:" << std::to_string(m_tcp_flags_value) << "]";
return (s.str());
}