summaryrefslogtreecommitdiff
path: root/doc/debuginfod.8
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-03-28 16:42:04 -0400
committerFrank Ch. Eigler <fche@redhat.com>2020-03-28 16:44:41 -0400
commitb2035c1148209633fb006c9f384b744944256b77 (patch)
treee81f339f16e506300956731db5b3b652318fe66e /doc/debuginfod.8
parentb988d23367e5c16480db7adf2c3ddc887142c42c (diff)
downloadelfutils-b2035c1148209633fb006c9f384b744944256b77.tar.gz
PR25728: disable debuginfod --port=0
When starting debuginfod with --port=0 it would start using a random port (possibly different for ipv4 and ipv6). This seems to be an accidental and not very useful functionality. Just produce an error when started with --port=0. https://sourceware.org/bugzilla/show_bug.cgi?id=25728 Signed-off-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'doc/debuginfod.8')
-rw-r--r--doc/debuginfod.87
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/debuginfod.8 b/doc/debuginfod.8
index d8fbbea0..a645ceed 100644
--- a/doc/debuginfod.8
+++ b/doc/debuginfod.8
@@ -130,9 +130,10 @@ repeated. The default is nothing extra.
.TP
.B "\-p NUM" "\-\-port=NUM"
-Set the TCP port number on which debuginfod should listen, to service
-HTTP requests. Both IPv4 and IPV6 sockets are opened, if possible.
-The webapi is documented below. The default port number is 8002.
+Set the TCP port number (0 < NUM < 65536) on which debuginfod should
+listen, to service HTTP requests. Both IPv4 and IPV6 sockets are
+opened, if possible. The webapi is documented below. The default
+port number is 8002.
.TP
.B "\-I REGEX" "\-\-include=REGEX" "\-X REGEX" "\-\-exclude=REGEX"