diff options
author | Aaron Merey <amerey@redhat.com> | 2022-04-06 13:38:04 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-04-06 13:38:04 -0400 |
commit | 83251d4091241acddbdcf16f814e3bc6ef3df49a (patch) | |
tree | af43c15129e70587677e27eb92de19594a122c15 /debuginfod | |
parent | 8db849976f07046d27b4217e9ebd08d5623acc4f (diff) | |
download | elfutils-83251d4091241acddbdcf16f814e3bc6ef3df49a.tar.gz |
debuginfod: Include "IPv4 IPv6" in server startup message
At startup debuginfod prints a message indicating the port which the
server is listening to. Prior to commit 4e4082be03 this message would
include "IPv4" and/or "IPv6"
[...] (48671/48671): started http server on IPv4 IPv6 port=8002
As of commit 4e4082be03 the IP versions have been removed from this
message. This change can cause issues in any applications that
parse the message for this information. Fix this by adding
"IPv4 IPv6" back to the message.
Signed-off-by: Aaron Merey <amerey@redhat.com>
Diffstat (limited to 'debuginfod')
-rw-r--r-- | debuginfod/debuginfod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 054ae07a..9c0217f6 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -3929,7 +3929,7 @@ main (int argc, char *argv[]) error (EXIT_FAILURE, 0, "cannot start http server at port %d", http_port); } - obatched(clog) << "started http server on " + obatched(clog) << "started http server on IPv4 IPv6 " << "port=" << http_port << endl; // add maxigroom sql if -G given |