Re: "Byteorder mismatch" for "iifname {ppp*}"? (nft noob question)

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

 



Florian Westphal wrote:
> Trent W. Buck <trentbuck@xxxxxxxxx> wrote:
> >     # nft 'flush ruleset;table a;chain a b;a b iifname vmap {"ppp*": drop}'
> >     Error: Byteorder mismatch: expected big endian, got host endian
> >     flush ruleset;table a;chain a b;a b iifname vmap {"ppp*": drop}
> >
> >     # nft 'flush ruleset;table a;chain a b;a b iifname {eth0, ppp*}'
> >     Error: Byteorder mismatch: expected big endian, got host endian
> >     flush ruleset;table a;chain a b;a b iifname {eth0, ppp*}
> >                                         ^^^^^^^
> > Is the actual problem "you can't glob in set/vmap" ?
>
> Yes.  This would need a new 'pattern search' map type.

OK, thanks.

Is it reasonable to ask for a more obvious error message?  :-)



[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