From owner-cvs-src@FreeBSD.ORG Thu Sep 4 08:57:38 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EA8216A4BF; Thu, 4 Sep 2003 08:57:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE33F43F93; Thu, 4 Sep 2003 08:57:37 -0700 (PDT) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h84Fvb0U014853; Thu, 4 Sep 2003 08:57:37 -0700 (PDT) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h84FvbuU014852; Thu, 4 Sep 2003 08:57:37 -0700 (PDT) Message-Id: <200309041557.h84FvbuU014852@repoman.freebsd.org> From: Thomas Moestl Date: Thu, 4 Sep 2003 08:57:37 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ipfw ipfw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 15:57:38 -0000 tmm 2003/09/04 08:57:37 PDT FreeBSD src repository Modified files: sbin/ipfw ipfw2.c Log: Apply a bandaid to get this working on sparc64 again; the introduction of do_cmd() broke things, because this function assumes that a socklen_t is large enough to hold a pointer. A real solution to this problem would be a rewrite of do_cmd() to treat the optlen parameter consistently and not use it to carry a pointer or integer dependent on the context. Revision Changes Path 1.40 +4 -4 src/sbin/ipfw/ipfw2.c