[netfilter-cvslog] [libnfnetlink] add conditional defition of NLA_F_NESTED for old includes

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Sun May 18 03:44:39 CEST 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnfnetlink.git;a=commit;h=78437ef8c86075d2621d954fdf77d255df798267
commit 78437ef8c86075d2621d954fdf77d255df798267
Author:     pablo <pablo at Decadence.(none)>
AuthorDate: Sun May 18 03:31:50 2008 +0200
Commit:     pablo <pablo at Decadence.(none)>
CommitDate: Sun May 18 03:31:50 2008 +0200

    add conditional defition of NLA_F_NESTED for old includes
       via  78437ef8c86075d2621d954fdf77d255df798267 (commit)
      from  37b20035b4179e69ba162ea75b90d26e3740e229 (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 78437ef8c86075d2621d954fdf77d255df798267
Author: pablo <pablo at Decadence.(none)>
Date:   Sun May 18 03:31:50 2008 +0200

    add conditional defition of NLA_F_NESTED for old includes

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

 include/libnfnetlink/libnfnetlink.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/libnfnetlink/libnfnetlink.h b/include/libnfnetlink/libnfnetlink.h
index e54edc6..fea7611 100644
--- a/include/libnfnetlink/libnfnetlink.h
+++ b/include/libnfnetlink/libnfnetlink.h
@@ -153,6 +153,10 @@ extern int nfnl_query(struct nfnl_handle *h, struct nlmsghdr *nlh);
 	 __ret;						\
 	 })
 
+#ifndef NLA_F_NESTED
+#define NLA_F_NESTED            (1 << 15)
+#endif
+
 /* nfnl attribute handling functions */
 extern int nfnl_addattr_l(struct nlmsghdr *, int, int, const void *, int);
 extern int nfnl_addattr16(struct nlmsghdr *, int, int, u_int16_t);



More information about the netfilter-cvslog mailing list