Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 11:30:50 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        "Ivo Vachkov" <ivo@bsdmail.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: 
Message-ID:  <200311301630.hAUGUoIg060968@whizzo.transsys.com>
In-Reply-To: Your message of "Sun, 30 Nov 2003 14:26:31 %2B0200." <20031130122631.7868.qmail@bsdmail.com> 
References:  <20031130122631.7868.qmail@bsdmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

The problem is in your test program; you're calling inet_ntoa() twice
in your printf() invocation, and the second call to inet_ntoa() overwrites
the static buffer that's returned.

louie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311301630.hAUGUoIg060968>