1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/xinetd/files/patch-af
Vanilla I. Shu 74f1274fa6 Add INET6 support.
PR:		ports/18011
Submitted by:	Mikhail Teterin <mi@privatelabs.com>
2000-04-30 08:24:49 +00:00

12 lines
461 B
Plaintext

--- xinetd/child.c.orig Sun Apr 30 16:13:07 2000
+++ xinetd/child.c Sun Apr 30 16:13:47 2000
@@ -320,7 +320,7 @@
"(%s service) %s", program_name, SC_ID( scp ) ) ;
#ifdef INET6
- if ( SC_ACCEPTS_CONNECTIONS( scp ) && !IN6_IS_ADDR_UNSPECIFIED(sinp) )
+ if ( SC_ACCEPTS_CONNECTIONS( scp ) && !IN6_IS_ADDR_UNSPECIFIED(&(sinp->sin6_addr)) )
strx_print( INT_NULL, &name[ len ], namelen - len,
" %s" , xntoa( *sinp ) ) ;
#else