From 97a12ba3f184a76c406eb5622ec21a4d4d6fc8bf Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Wed, 16 Jun 2010 22:49:16 +0200 Subject: configure/Makefile and debug fixes --- lib/session.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/session.c') diff --git a/lib/session.c b/lib/session.c index 64d5c4a..36716f0 100644 --- a/lib/session.c +++ b/lib/session.c @@ -488,13 +488,16 @@ attr2data(struct ipset_session *session, struct nlattr *nla[], break; } } +#ifdef IPSET_DEBUG if (type == IPSET_ATTR_TYPENAME) D("nla typename %s", (char *) d); +#endif ret = ipset_data_set(data, attr->opt, d); +#ifdef IPSET_DEBUG if (type == IPSET_ATTR_TYPENAME) D("nla typename %s", (char *) ipset_data_get(data, IPSET_OPT_TYPENAME)); - +#endif return ret; } -- cgit v1.2.3