mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
Merge Fix spacing when printing out AF_UNIX addresses
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/978 Approved-by: Georgia Garcia <georgia.garcia@canonical.com> Merged-by: Georgia Garcia <georgia.garcia@canonical.com> (cherry picked from commit 608560ee4382cf2e26da11e197501811ebd84841) Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
de739160c1
commit
a80e3dc432
@ -136,7 +136,7 @@ ostream &unix_rule::dump_local(ostream &os)
|
|||||||
{
|
{
|
||||||
af_rule::dump_local(os);
|
af_rule::dump_local(os);
|
||||||
if (addr)
|
if (addr)
|
||||||
os << "addr='" << addr << "'";
|
os << " addr='" << addr << "'";
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ ostream &unix_rule::dump_peer(ostream &os)
|
|||||||
{
|
{
|
||||||
af_rule::dump_peer(os);
|
af_rule::dump_peer(os);
|
||||||
if (peer_addr)
|
if (peer_addr)
|
||||||
os << "addr='" << peer_addr << "'";
|
os << " addr='" << peer_addr << "'";
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user