Re: Quotation marks and meta iif(name) interface names/indices

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

 



Adrian <thehim@xxxxxxxxx> wrote:
> meta iifname "eth0"
> meta iif lo
> 
> As I understand it, iffname expects a string, and iif an integer
> (enum), but in the documentation I see either style being used.
> `nft list ruleset` seems to print output with quotes around all interfaces.

We should update the docs to use quotation marks throughout.
It avoids error when the name is also a token, e.g.

meta iifname tcp

will not work, but 'meta iifname "tcp"' would.



[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