diff options
author | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-01-22 17:12:39 +0100 |
---|---|---|
committer | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-02-15 15:08:20 +0100 |
commit | b4d4ebe850d7de6c485a790c5334de1da0760ee1 (patch) | |
tree | f6df40088ebda5119f884b697e5c4b5434549885 /src/journal-remote | |
parent | journald: implement socket forwarding (diff) | |
download | systemd-b4d4ebe850d7de6c485a790c5334de1da0760ee1.tar.xz systemd-b4d4ebe850d7de6c485a790c5334de1da0760ee1.zip |
journal-remote: allow AF_VSOCK and AF_UNIX for --listen-raw
This allows log messages forwarded over an AF_UNIX or AF_VSOCK socket by
journald to be received by systemd-journal-remote.
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/journal-remote.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index 2d309d1236..084a3d8c91 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c @@ -516,7 +516,9 @@ static int accept_connection( switch (socket_address_family(addr)) { case AF_INET: - case AF_INET6: { + case AF_INET6: + case AF_VSOCK: + case AF_UNIX: { _cleanup_free_ char *a = NULL; char *b; |