summaryrefslogtreecommitdiff
path: root/lib/session.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-18 17:35:10 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-18 17:35:10 +0200
commitdb87cb1cb68a356143c5773188e477af94417874 (patch)
tree361afdddb2619456450a7c56d5e1a820251c4eab /lib/session.c
parentbf8463fb80ffa70e043a5afee4d30ca3023b30ba (diff)
downloadipset-db87cb1cb68a356143c5773188e477af94417874.tar.gz
Fix XML listing, remove broken unused "elements" tag
Diffstat (limited to 'lib/session.c')
-rw-r--r--lib/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/session.c b/lib/session.c
index 9a7f45b..5e20a32 100644
--- a/lib/session.c
+++ b/lib/session.c
@@ -892,7 +892,7 @@ list_create(struct ipset_session *session, struct nlattr *nla[])
"\n" : "\nMembers:\n");
break;
case IPSET_LIST_XML:
- safe_snprintf(session, "</elements>\n <memsize>");
+ safe_snprintf(session, " <memsize>");
safe_dprintf(session, ipset_print_number, IPSET_OPT_MEMSIZE);
safe_snprintf(session, "</memsize>\n <references>");
safe_dprintf(session, ipset_print_number, IPSET_OPT_REFERENCES);