[netfilter-cvslog] [libnfnetlink] branch, master, updated. svn_t_libnfnetlink-0.0.33-4-g37b2003

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Fri May 16 17:22:26 CEST 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnfnetlink.git;a=commit;h=37b20035b4179e69ba162ea75b90d26e3740e229
Commit:		37b20035b4179e69ba162ea75b90d26e3740e229
Parent:		b7928d3d138f2210d49997113145050675052404

The branch, master has been updated
       via  37b20035b4179e69ba162ea75b90d26e3740e229 (commit)
      from  b7928d3d138f2210d49997113145050675052404 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 37b20035b4179e69ba162ea75b90d26e3740e229
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Fri May 16 17:09:39 2008 +0200

    recover the nested bit as now it is fully supported in kernel space, this makes possible the generation of netlink-based network messages.

-----------------------------------------------------------------------

commit 37b20035b4179e69ba162ea75b90d26e3740e229
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Fri May 16 17:09:39 2008 +0200

    recover the nested bit as now it is fully supported in kernel space, this makes possible the generation of netlink-based network messages.

diff --git a/configure.in b/configure.in
index 536b14d..84772b4 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to create configure.
 
-AC_INIT(libnfnetlink, 0.0.34)
+AC_INIT(libnfnetlink, 0.0.35)
 
 AC_CANONICAL_SYSTEM
 
diff --git a/include/libnfnetlink/libnfnetlink.h b/include/libnfnetlink/libnfnetlink.h
index 5776da6..e54edc6 100644
--- a/include/libnfnetlink/libnfnetlink.h
+++ b/include/libnfnetlink/libnfnetlink.h
@@ -165,7 +165,7 @@ extern int nfnl_parse_attr(struct nfattr **, int, struct nfattr *, int);
 	nfnl_parse_attr((tb), (max), NFA_DATA((nfa)), NFA_PAYLOAD((nfa)))
 #define nfnl_nest(nlh, bufsize, type) 				\
 ({	struct nfattr *__start = NLMSG_TAIL(nlh);		\
-	nfnl_addattr_l(nlh, bufsize, type, NULL, 0); 	\
+	nfnl_addattr_l(nlh, bufsize, (NLA_F_NESTED | type), NULL, 0); 	\
 	__start; })
 #define nfnl_nest_end(nlh, tail) 				\
 ({	(tail)->nfa_len = (void *) NLMSG_TAIL(nlh) - (void *) tail; })


hooks/post-receive
--
libnfnetlink



More information about the netfilter-cvslog mailing list