Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 20:10:11 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 38257 for review
Message-ID:  <200309190310.h8J3ABZU033309@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=38257

Change 38257 by sam@sam_ebb on 2003/09/18 20:10:04

	bridge now requires opt_pfil_hooks.h; generate it for the module

Affected files ...

.. //depot/projects/netperf/sys/modules/bridge/Makefile#2 edit

Differences ...

==== //depot/projects/netperf/sys/modules/bridge/Makefile#2 (text+ko) ====

@@ -3,5 +3,15 @@
 .PATH:	${.CURDIR}/../../net
 KMOD=	bridge
 SRCS=	bridge.c
+SRCS+=	opt_pfil_hooks.h
+
+#
+# By default don't enable pfil hooks support.  This means you
+# cannot use ipfilter together with the bridge.  To enable it
+# uncomment the line below
+#
+opt_pfil_hooks.h:
+#	echo "#define PFIL_HOOKS 1" > opt_pfil_hooks.h
+	touch opt_pfil_hooks.h
 
 .include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309190310.h8J3ABZU033309>