aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/acl_list_cmds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/acl_list_cmds.hpp')
-rw-r--r--src/vpp-api/vom/acl_list_cmds.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vpp-api/vom/acl_list_cmds.hpp b/src/vpp-api/vom/acl_list_cmds.hpp
index e4aa950bdce..23d77c7e26c 100644
--- a/src/vpp-api/vom/acl_list_cmds.hpp
+++ b/src/vpp-api/vom/acl_list_cmds.hpp
@@ -59,7 +59,11 @@ public:
std::string to_string() const
{
std::ostringstream s;
- s << "ACL-list-update: " << this->item().to_string();
+ s << "ACL-list-update:[ " << this->item().to_string() << " rule-list:[";
+ for (auto rule : m_rules) {
+ s << " " << rule.to_string();
+ }
+ s << "]]";
return (s.str());
}