NetBSD-Bugs archive

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

lib/59643: sockaddr_snprintf should have a generic way to show everything



>Number:         59643
>Category:       lib
>Synopsis:       sockaddr_snprintf should have a generic way to show everything
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 08 22:20:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
Socket Address Printers Ink.
>Environment:
>Description:
sockaddr_snprint should have a generic notation for all address types.

You should not have to conditionalize AF_INET/INET6/UNIX/&c.
>How-To-Repeat:
Write code like getaddrinfo(1) that prints an arbitrary sockaddr.
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index