[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] [ANNOUNCE] First Leafnode-2.0 beta version
Mark Brown wrote:
> With glibc 2.2 with IPv6 and 2.0b2 I get:
[...]
> /nntpd.c:1718: warning: unused variable `salt'
> /nntpd.c: In function `main':
> /nntpd.c:1894: union has no member named `sin_addr'
[...]
> because the relevant line:
>
> syslog( LOG_INFO, "Connect from %s", inet_ntoa(peer.sin_addr) );
>
> assumes IPv4 addresses.
My old system (SuSE 6.3) does not have any documentation about IPv6.
If you can provide me with the appropriate patch I will be happy to put
it in. For the moment, use this patch:
--- nntpd.c.orig Wed Oct 25 23:37:43 2000
+++ nntpd.c Wed Oct 25 23:37:51 2000
@@ -1892,6 +1892,7 @@
syslog( LOG_ERR, "Connect from unknown client");
else {
#ifdef HAVE_IPV6
+ /* do nothing, because we don't know how */
#else
syslog( LOG_INFO, "Connect from %s", inet_ntoa(peer.sin_addr) );
#endif
--Cornelius.
--
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: phak004@xxxxxxxxxxxxxxxxxxxxxx SP4 */
/* "Science is the game we play with God to find out what His rules are." */
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list