8.2.1: wrong master address in slave zone header comment

Erich Meier Erich.Meier at informatik.uni-erlangen.de
Thu Aug 12 15:19:30 UTC 1999

On Thu, Aug 12, 1999 at 05:09:08PM +0200, Juergen Georgi wrote:
> On slave I get the comment
> ; from (local using AXFR at Wed Aug 11 09:59:39 1999
> Don't ask me why, but inet_ntoa(local.sin_addr) in fprintf() messes up
> the master's address (Solaris-2.6, gcc).

This is because of inet_ntoa function uses a static buffer that gets overwritten
on every call. So don't use more than one inet_ntoa() in a single printf() or
similar statement.

I've been digging this up a while ago, but I was wondering, too.


More information about the bind-workers mailing list