Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 10:05:47 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        green@FreeBSD.ORG
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/18830: add IP_FW_GETRULE to ipfw, in order to get single rules
Message-ID:  <20000602100547.C650@cichlids.cichlids.com>
In-Reply-To: <200006012159.OAA44149@freefall.freebsd.org>; from green@FreeBSD.ORG on Thu, Jun 01, 2000 at 02:59:13PM -0700
References:  <200006012159.OAA44149@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake green@FreeBSD.ORG (green@FreeBSD.ORG):

> There are a couple problems I have with it.  The big problem is that
> you don't copy the entire chain of a specific rule number out, but only
> the very first one.

I thought about that. That's in fact true, but

a) how do you want to get e.g. the second rule? Using a field in the
struct ip_fw?

b) I really want a _single_ rule. The guys who want the complete chain
should use GET then, and not GETRULE. For the shown "ipfw move"
implemenation, as example, that wouldn't matter, since you could do
that in a while-loop, getting the most top every time, which is ok.

Alex
-- 
I need a new ~/.sig.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000602100547.C650>