Date: Mon, 8 Sep 2003 23:50:53 -0700 (PDT) From: Josh Brooks <user@mail.econolodgetulsa.com> To: freebsd-net@freebsd.org Subject: how do I delete just one ipfw rule ? Message-ID: <20030908234910.H77579-100000@mail.econolodgetulsa.com>
next in thread | raw e-mail | index | archive | help
Hi, If I create two ipfw rules with the same ID: ipfw add 00022 deny ip from x to y ipfw add 00022 allow ip from z to b they will both be there, and both work ... but is it possible to remove just one of them wihout removing the other ? Right now I am doing a hack with a ";" ipfw del 00022 ; ipfw add 00022 allow ip from z to b which removes both, and re-adds the one I want, but if the list gets more complicated than a few, this is really bad. So is it possible to remove just one ipfw rule from a list of same-index rules ? thank!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908234910.H77579-100000>