From 30e0417c09f680f1b4e86fbceb085e4f86d30a63 Mon Sep 17 00:00:00 2001 From: Holger Eitzenberger Date: Mon, 8 Sep 2014 16:30:48 +0200 Subject: ipset: remove extran newline on debug output [ The following text is in the "utf-8" character set. ] [ Your display is set for the "ISO-8859-2" character set. ] [ Some characters may be displayed incorrectly. ] Signed-off-by: Holger Eitzenberger Signed-off-by: Jozsef Kadlecsik --- lib/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.c b/lib/session.c index c392193..cbef026 100644 --- a/lib/session.c +++ b/lib/session.c @@ -816,7 +816,7 @@ list_adt(struct ipset_session *session, struct nlattr *nla[]) safe_snprintf(session, ""); for (arg = type->args[IPSET_ADD]; arg != NULL && arg->opt; arg++) { - D("print arg opt %u %s\n", arg->opt, + D("print arg opt %u %s", arg->opt, ipset_data_test(data, arg->opt) ? "(yes)" : "(missing)"); if (!(arg->print && ipset_data_test(data, arg->opt))) continue; -- cgit v1.2.3