gnats-prs
[Top][All Lists]
Advanced

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

gnats/615: AF_INET6 causes compilation failure on Solaris 7


From: bug-gnats
Subject: gnats/615: AF_INET6 causes compilation failure on Solaris 7
Date: Tue, 13 Jun 2006 11:25:01 -0500 (CDT)

>Number:         615
>Category:       gnats
>Synopsis:       AF_INET6 causes compilation failure on Solaris 7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 13 11:25:01 -0500 2006
>Originator:     Stephane Chazelas <address@hidden>
>Release:        
>Description:
 
 In gnats/gnatsd.c, line 623:
   if ((s.sin_family != AF_INET) && (s.sin_family != AF_INET6))
 
 There should be an autoconf check for ipv6.
 
>Fix:

add the autoconf check or change that to:

  if ((s.sin_family != AF_INET)
#ifdef AF_INET6
  && (s.sin_family != AF_INET6)
#endif
     )

(though AF_INET6 might be defined as an enum on some systems).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]