On Wed, Jan 15, 2014 at 12:32:36PM +0100, Arturo Borrero Gonzalez wrote: > On 15 January 2014 12:18, Patrick McHardy <kaber@xxxxxxxxx> wrote: > > On Wed, Jan 15, 2014 at 12:09:26PM +0100, Pablo Neira Ayuso wrote: > >> Since b59e65c ("scanner: add aliases to symbols for easier > >> interaction with most shells") we have nominal aliases, default to > >> these for the output representation. > > > > I was thinking about this before, but didn't mention it since you > > hadn't included it in your first patch. I'd prefer to stick to the > > IMO more readable existing form. Since we don't support deleting > > rules by rule specification, there should be no reason to copy and > > paste the output to the command line again. > > What about a file to be loaded with `nft -f'? > In fact, I think most of users will end with a config file to load > with `nft -f'. Indeed, and those users don't need the long syntax since the shell is not involved. > It may be annoying getting the output different to what you wrote. That may happen for other reasons anyways, especially with binops we optimize away redundant expressions and calculate constants in userspace. > I think this patch means that the symbol-free syntax is the default, > and I personally like that. I don't, its longer and harder to read. It has its justification for parsing on the command line, but as you say, most users won't use it that way. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html