From owner-cvs-all@FreeBSD.ORG Mon Jun 23 01:20:29 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC6F37B401; Mon, 23 Jun 2003 01:20:29 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368CE43F93; Mon, 23 Jun 2003 01:20:29 -0700 (PDT) (envelope-from luigi@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 h5N8KT0U091494; Mon, 23 Jun 2003 01:20:29 -0700 (PDT) (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5N8KS0X091488; Mon, 23 Jun 2003 01:20:28 -0700 (PDT) Message-Id: <200306230820.h5N8KS0X091488@repoman.freebsd.org> From: Luigi Rizzo Date: Mon, 23 Jun 2003 01:20:28 -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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 08:20:29 -0000 luigi 2003/06/23 01:20:28 PDT FreeBSD src repository Modified files: sbin/ipfw ipfw2.c Log: syntactic sugar: support range notation such as 1.2.3.4/24{5,6,7,10-20,60-90} for set of ip addresses. Previously you needed to specify every address in the range, which was unconvenient and lead to very long lines. Internally the set is still stored in the same way, just the input and output routines are modified. Manpage update still missing. Perhaps a similar preprocessing step would be useful for port ranges. MFC after: 3 days Revision Changes Path 1.27 +32 -5 src/sbin/ipfw/ipfw2.c