From: Pablo Neira <pablo@netfilter.org>
To: Harald Welte <laforge@netfilter.org>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [PATCH 1/2] define NETLINK_NETFILTER if it's undefined
Date: Sun, 13 Nov 2005 18:14:04 +0100 [thread overview]
Message-ID: <4377745C.9060906@netfilter.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
Hi Harald,
This patch applies to libnfnetlink.
o It define NETLINK_NETFILTER if it's not defined.
o Kill KERNELDIR in Makefile.am, it's not set anymore.
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
[-- Attachment #2: 01-libnfnetlink.patch --]
[-- Type: text/plain, Size: 1075 bytes --]
Index: include/libnfnetlink/libnfnetlink.h
===================================================================
--- include/libnfnetlink/libnfnetlink.h (revision 4511)
+++ include/libnfnetlink/libnfnetlink.h (working copy)
@@ -4,6 +4,8 @@
*
* 2005-10-29 Pablo Neira Ayuso <pablo@netfilter.org>:
* Fix NFNL_HEADER_LEN
+ * 2005-11-13 Pablo Neira Ayuso <pablo@netfilter.org>:
+ * Define NETLINK_NETFILTER if it's undefined
*/
#ifndef __LIBNFNETLINK_H
@@ -18,6 +20,10 @@
#include <linux/netlink.h>
#include <libnfnetlink/linux_nfnetlink.h>
+#ifndef NETLINK_NETFILTER
+#define NETLINK_NETFILTER 12
+#endif
+
#define NLMSG_TAIL(nlh) \
(((void *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))
Index: src/Makefile.am
===================================================================
--- src/Makefile.am (revision 4511)
+++ src/Makefile.am (working copy)
@@ -2,7 +2,7 @@
#EXTRA_DIST = $(man_MANS) acinclude.m4
-INCLUDES = $(all_includes) -I$(top_srcdir)/include -I${KERNELDIR}
+INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-fPIC -Wall
LIBS=
next reply other threads:[~2005-11-13 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-13 17:14 Pablo Neira [this message]
2005-11-14 14:35 ` [PATCH 1/2] define NETLINK_NETFILTER if it's undefined Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4377745C.9060906@netfilter.org \
--to=pablo@netfilter.org \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.