On Mon, Sep 08, 2003 at 11:50:53PM -0700, Josh Brooks wrote: > > 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 ?
no, it is not possible to delete them -- you have no way to tell which rule to delete when multiple rules share the same number. cheers luigi _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"