From owner-cvs-sbin Sun Jun 23 13:49:35 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA21267 for cvs-sbin-outgoing; Sun, 23 Jun 1996 13:49:35 -0700 (PDT) Received: (from alex@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA21071; Sun, 23 Jun 1996 13:47:55 -0700 (PDT) Date: Sun, 23 Jun 1996 13:47:55 -0700 (PDT) From: Alex Nash Message-Id: <199606232047.NAA21071@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ipfw ipfw.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 96/06/23 13:47:54 Modified: sbin/ipfw ipfw.c Log: Fix address mask calculation when using ':' syntax. Allow a mask of /0 to have the desired effect. Normalize IP addresses that won't match a given mask (i.e. 1.2.3.4/24 becomes 1.2.3.0/24). Submitted by R. Bezuidenhout Code formatting and "frag" display fixes. Revision Changes Path 1.27 +23 -13 src/sbin/ipfw/ipfw.c