Re: nft - concatenate ifaces

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

 



ѽ҉ᶬḳ℠ <vtol@xxxxxxx> wrote:
> >> set lan {
> >>     type iif
> >>     elements = { lo, br0, br1 , br2, br3 }
> >>   }
> >>
> >> and sub subsequent rule with |meta iif ne @lan|
> > Its same as
> >
> > meta iif { lo, br0, br1, br2, br3 }
> >
> > except that the 'named set' (@lan) can be added or removed to later.
> 
> Not sure whether I am misunderstanding something but |typ iif| as stated
> in the above set syntax is not working - when trying to deploy it this
> error is thrown
> 
> /etc/fw/sets:14:7-13: Error: set definition does not specify key
>   set lan {

Oh, sorry.

nft describe meta iif
meta expression, datatype iface_index

So, can you try 'type iface_index'?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux