DragonFlyBSD/src ef10c7dlib/libc/net getaddrinfo.c

libc/getaddrinfo: Accept numeric servname for AF_INET/AF_INET6

  According to RFC3493:

    If servname is null, the call shall return network-level addresses
    for the specified nodename.  If servname is not null, it is a null-
    terminated character string identifying the requested service.  This
    can be either a descriptive name or a numeric representation suitable
    for use with the address family or families.  If the specified
    address family is AF_INET, AF_INET6 or AF_UNSPEC, the service can be
    specified as a string specifying a decimal port number.

  Taken from: FreeBSD r190382
DeltaFile
+11-1lib/libc/net/getaddrinfo.c
+11-11 files

UnifiedSplitRaw