NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/60229: bozohttpd: fails to print actual port number with `-I 0'



>Number:         60229
>Category:       bin
>Synopsis:       bozohttpd: fails to print actual port number with `-I 0'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 04 20:50:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
The NetBozod Localhost, Inc.
>Environment:
>Description:
$ /usr/libexec/httpd -b -f -s -i localhost -I 0 -X . localhost
started in daemon mode as `localhost' port `0' root `.'

This is not helpful: I want the port number the OS chose.

(Reliable machine-parseable output would be nice too.)
>How-To-Repeat:
as above
>Fix:
getsockname




Home | Main Index | Thread Index | Old Index