Re: [nft PATCH] src: Quote user-defined names

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

 



Phil Sutter <phil@xxxxxx> wrote:
> Nftables claims to allow arbitrary names for ruleset elements (tables,
> chains, objects) but suffers from the known problem of lex/yacc trying
> to interpret those as keywords. As a workaround, users may quote their
> names. Sadly this wasn't supported in most cases and this patch lifts
> this restriction.
> 
> In order to not print rulesets which are not accepted anymore by 'nft
> -f' command, unconditionally quote all names on output.

Acked-by: Florian Westphal <fw@xxxxxxxxx>

I think we should also enforce QUOTED_STRING on where possible in future
patches (i mean, when new features are added, can't force it for
existing cases).




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux