DragonFly bugs List (threaded) for 2006-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[issue322] ipfilter and INET6 issue
Peter Avalos <pavalos@theshell.com> added the comment:
What about something like:
http://leaf.dragonflybsd.org/~pavalos/ipfilter.patch
_______________________________________________________
DragonFly issue tracker <issues@chlamydia.fs.ei.tum.de>
<http://bugs.dragonflybsd.org/issue322>
_______________________________________________________
Index: sys/net/ipfilter/Makefile
===================================================================
RCS file: /cvs/src/sys/net/ipfilter/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- sys/net/ipfilter/Makefile 28 Jul 2004 00:22:37 -0000 1.3
+++ sys/net/ipfilter/Makefile 18 Dec 2006 19:03:08 -0000
@@ -6,11 +6,10 @@
SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \
ip_log.c ip_fil.c fil.c
NOMAN=
-.if !defined(NOINET6)
-CFLAGS+= -DUSE_INET6
-.endif
+
+CFLAGS+= -include ipf_inet6.h
CFLAGS+= -DIPFILTER_LKM -DIPFILTER_LOG
-CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter
+CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter -I${.CURDIR}
#
# If you don't want log functionality remove -DIPFILTER_LOG
#
Index: sys/net/ipfilter/ipf_inet6.h
===================================================================
RCS file: sys/net/ipfilter/ipf_inet6.h
diff -N sys/net/ipfilter/ipf_inet6.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sys/net/ipfilter/ipf_inet6.h 18 Dec 2006 19:06:43 -0000
@@ -0,0 +1,8 @@
+/* $DragonFly$ */
+
+/* This file uses the kernel config to determine if IPV6 should be used. */
+#include "opt_inet6.h"
+
+#ifdef INET6
+#define USE_INET6 1
+#endif
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]