From owner-freebsd-ipfw@FreeBSD.ORG Sun Nov 30 08:31:04 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A731716A4DE; Sun, 30 Nov 2003 08:31:04 -0800 (PST) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A5743FB1; Sun, 30 Nov 2003 08:31:03 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (#6@localhost [127.0.0.1]) by whizzo.transsys.com (8.12.9p2/8.12.9) with ESMTP id hAUGUoIg060968; Sun, 30 Nov 2003 11:30:50 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <200311301630.hAUGUoIg060968@whizzo.transsys.com> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Ivo Vachkov" X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" References: <20031130122631.7868.qmail@bsdmail.com> In-reply-to: Your message of "Sun, 30 Nov 2003 14:26:31 +0200." <20031130122631.7868.qmail@bsdmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 30 Nov 2003 11:30:50 -0500 Sender: louie@TransSys.COM cc: freebsd-ipfw@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 16:31:04 -0000 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