Message ID | 1392115608-6733-3-git-send-email-tomasz.bursztyka@linux.intel.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/src/table.c b/src/table.c index f50a968..529f568 100644 --- a/src/table.c +++ b/src/table.c @@ -383,7 +383,7 @@ static int nft_table_snprintf_xml(char *buf, size_t size, struct nft_table *t) static int nft_table_snprintf_default(char *buf, size_t size, struct nft_table *t) { - return snprintf(buf, size, "table %s %s flags %x", + return snprintf(buf, size, "table %s %s flags %x\n", t->name, nft_family2str(t->family), t->table_flags); }
As when a rule is printed etc... It fixes a bug in iptables when printing out the table in debug mode. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> --- src/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)