The extra space is printed when sets are printed in tabulated format.
table inet test {
set test {
^
type ipv4_addr
}
}
However, the space is still required in printing in plain format (ie, monitor).
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
if (opts->table != NULL)
printf(" %s", opts->table);
- printf(" %s { %s", set->handle.set, opts->nl);
+ printf(" %s {%s", set->handle.set, opts->nl);
+
+ if (!opts->nl[0])
+ printf(" ");
printf("%s%stype %s", opts->tab, opts->tab, set->keytype->name);
if (set->flags & SET_F_MAP)