PERFORCE change 38257 for review

Sam Leffler sam at FreeBSD.org
Thu Sep 18 20:10:13 PDT 2003


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

Change 38257 by sam at 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>


More information about the p4-projects mailing list