From owner-cvs-src@FreeBSD.ORG Wed Jun 2 14:12:56 2004 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 37E2F16A4CE; Wed, 2 Jun 2004 14:12:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ACB143D2F; Wed, 2 Jun 2004 14:12:56 -0700 (PDT) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i52LCtYl072428; Wed, 2 Jun 2004 14:12:55 -0700 (PDT) (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i52LCtW8072427; Wed, 2 Jun 2004 14:12:55 -0700 (PDT) (envelope-from csjp) Message-Id: <200406022112.i52LCtW8072427@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Wed, 2 Jun 2004 14:12:55 -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: Wed, 02 Jun 2004 21:12:56 -0000 csjp 2004/06/02 14:12:55 PDT FreeBSD src repository Modified files: sbin/ipfw ipfw2.c Log: o Move NEED1 macro to the top of the source file. o Add sanity checking to the firewall delete operation which tells the user that a firewall rule specification is required. The previous behaviour was to exit without reporting any errors to the user. Approved by: bmilekic (mentor) Revision Changes Path 1.50 +6 -6 src/sbin/ipfw/ipfw2.c