From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Lodal Subject: Re: [PATCH 2/2] Accept named realm Date: Wed, 24 May 2006 19:35:59 +0200 Message-ID: <200605241935.59820.simonl@parknet.dk> References: <200605211813.21301.simonl@parknet.dk> <4474847F.9060407@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Netfilter Developer Return-path: To: Patrick McHardy In-Reply-To: <4474847F.9060407@trash.net> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On Wednesday 24 May 2006 18:06, Patrick McHardy wrote: > Simon Lodal wrote: > > Make the realm match accept named realms, defined in > > /etc/iproute2/rt_realms. > > I think this is a good idea, but it should also show realm names when > listing without -n. For that it makes little sense to read in the > realms file once for each rule shown, so you should keep a map of > realm->name values. I actually had a patch to do exactly that long > ago, but I lost it. Same thought, I will post another patch soon.