G'day Patrick,
Just compiling up LPRng-3.8.4 and found the following bug:
./common/lpd_dispatch.c:180: `AF_LOCAL' undeclared (first use in this function)


...
    DEBUG1("Service_connection: family %d, AF_LOCAL %d, AF_UNIX %d",
        sinaddr.sa_family, AF_LOCAL, AF_UNIX );
    if( sinaddr.sa_family == AF_INET ){
        port = ((struct sockaddr_in *)&sinaddr)->sin_port;
#if defined(IPV6)
    } else if( sinaddr.sa_family == AF_INET6 ){
        port = ((struct sockaddr_in6 * )&sinaddr)->sin6_port;
#endif
    } else if( sinaddr.sa_family == 0
#if defined(AF_LOCAL)
        || sinaddr.sa_family == AF_LOCAL
#endif
#if defined(AF_UNIX)
        || sinaddr.sa_family == AF_UNIX
#endif
...

The same #if defined(AF_LOCAL) should be around the DEBUG1() line.

The debug will need to be split up to handle all cases I think.

Cheers and best wishes of the season to you,
Christopher
            ,,,
           (. .)
/-----.oOO--(_)--OOo.-------------------------------------------------\
|  Christopher McAvaney                       [EMAIL PROTECTED]   |
|  PhD Candidate                                 [EMAIL PROTECTED]   |
|                                               [EMAIL PROTECTED]   |
|  phone: +61+3+52272960                    [EMAIL PROTECTED]   |
|    fax: +61+3+52272028       http://www.cm.deakin.edu.au/~chrismc   |
\---------------------------------------------------------------------/


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to