Re: nft - concatenate ifaces

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

 



> Oh, sorry.
>
> nft describe meta iif
> meta expression, datatype iface_index
>
> So, can you try 'type iface_index'?

Yes, that works for the set creation but not  with the rule. The set 
syntax reads now

set brdg {
    type iface_index
    elements = { br0, br1, br2 , br3 }
    flags constant
    size 4
  }

 and corresponding rule -> |meta iifname ne @brdg| throwing this error:

/etc/fw/meter:11:14-18: Error: Set 'brdg' does not exist
    meta iifname @brdg
                                ^^^

changed the name of the set but no dice. Tried the following variations
in the rule but ending up with the same error

meta iifname @brdg
meta iif ne @brdg
iifname ne @brdg
iif ne @brdg






��.n��������+%������w��{.n����z��׫�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[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