From a80e3dc43265d1d4a3eef46c6a8d2f87c2bc1912 Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Wed, 1 Feb 2023 13:35:38 +0000 Subject: [PATCH] Merge Fix spacing when printing out AF_UNIX addresses MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/978 Approved-by: Georgia Garcia Merged-by: Georgia Garcia (cherry picked from commit 608560ee4382cf2e26da11e197501811ebd84841) Signed-off-by: John Johansen --- parser/af_unix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/af_unix.cc b/parser/af_unix.cc index 674ab88c7..47032945e 100644 --- a/parser/af_unix.cc +++ b/parser/af_unix.cc @@ -136,7 +136,7 @@ ostream &unix_rule::dump_local(ostream &os) { af_rule::dump_local(os); if (addr) - os << "addr='" << addr << "'"; + os << " addr='" << addr << "'"; return os; } @@ -144,7 +144,7 @@ ostream &unix_rule::dump_peer(ostream &os) { af_rule::dump_peer(os); if (peer_addr) - os << "addr='" << peer_addr << "'"; + os << " addr='" << peer_addr << "'"; return os; }