Re: [nftables PATCH 3/4] Update chain creation format.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le lundi 16 septembre 2013 à 22:21 +0200, Florian Westphal a écrit :
> Eric Leblond <eric@xxxxxxxxx> wrote:
> > type keyword is now mandatory when creating a new chain. This
> > patc halso implement the change required following the usage of human
> > notation in hook.
> 
> > diff --git a/files/nftables/bridge-filter b/files/nftables/bridge-filter
> > index ca306d4..6ed303e 100644
> > --- a/files/nftables/bridge-filter
> > +++ b/files/nftables/bridge-filter
> > @@ -1,7 +1,7 @@
> >  #! nft -f
> >  
> >  table bridge filter {
> > -	chain input		{ hook NF_INET_LOCAL_IN		-200; }
> > -	chain forward		{ hook NF_INET_FORWARD		-200; }
> > -	chain output		{ hook NF_INET_LOCAL_OUT	200; }
> > +	chain input		{ table filter hook input priority -200; }
> > +	chain forward		{ table filter hook forward priority -200; }
> > +	chain output		{ table filter hook output priority 200; }
> >  }
> 
> Did you mean 'type filter' instead of 'table' here?

Argh! (Banging head on the desk) Yes, good catch.

BR,
--
Eric

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux