Hello David,

These #ifdef's are needed for the userspace ebtables tool to compile.
Please apply.

cheers,
Bart

--- linux-2.5.45/include/linux/netfilter_bridge.h       Thu Oct 31 01:42:58 2002
+++ linux-2.5.45-bezig/include/linux/netfilter_bridge.h Sun Nov  3 16:48:55 2002
@@ -6,7 +6,9 @@
 
 #include <linux/config.h>
 #include <linux/netfilter.h>
+#ifdef __KERNEL__
 #include <asm/atomic.h>
+#endif
 
 /* Bridge Hooks */
 /* After promisc drops, checksum checks. */
@@ -23,6 +25,8 @@
 #define NF_BR_BROUTING         5
 #define NF_BR_NUMHOOKS         6
 
+#ifdef __KERNEL__
+
 #define BRNF_PKT_TYPE                  0x01
 #define BRNF_BRIDGED_DNAT              0x02
 #define BRNF_DONT_TAKE_PARENT          0x04
@@ -58,4 +62,5 @@
        } daddr;
 };
 
+#endif /* __KERNEL__ */
 #endif

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to