Re: [nft RFC PATCH] expression: print sets and maps in pretty format

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

 



On 26 April 2017 at 00:00, Pablo M. Bermudo Garay <pablombg@xxxxxxxxx> wrote:
> 2017-04-25 14:35 GMT+02:00 Arturo Borrero Gonzalez <arturo@xxxxxxxxxx>:
>> Print elements per line instead of all in a single line.
>> The elements which can be 'short' are printed 5 per line,
>> and others, like IPv4 addresses are printed 2 per line.
>
> The default terminfo tab size is 8. Why not align the first column of
> elements for this case? It is only needed to replace the last tab of
> "newline" with five spaces.
>
> -       const char *newline = ",\n\t\t\t\t";
> +       const char *newline = ",\n\t\t\t     ";

yeah far better, sending v2 now
--
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



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux