diff options
author | andre <andre@FreeBSD.org> | 2004-10-25 20:02:34 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-10-25 20:02:34 +0000 |
commit | 4bbe5a2c0fe11eb31a56ddc303c089ff278b36b6 (patch) | |
tree | 4915e23206d1ccfe368221a6bbdac151547aaff4 /sys/netinet/ip_divert.c | |
parent | 50d63268a9d477e7c04c618790bb07acc44dc916 (diff) | |
download | FreeBSD-src-4bbe5a2c0fe11eb31a56ddc303c089ff278b36b6.zip FreeBSD-src-4bbe5a2c0fe11eb31a56ddc303c089ff278b36b6.tar.gz |
IPDIVERT is a module now and tell the other parts of the kernel about it.
IPDIVERT depends on IPFIREWALL being loaded or compiled into the kernel.
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r-- | sys/netinet/ip_divert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index 7be0e35..ed21cc3 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -31,10 +31,14 @@ #if !defined(KLD_MODULE) #include "opt_inet.h" +#include "opt_ipfw.h" #include "opt_mac.h" #ifndef INET #error "IPDIVERT requires INET." #endif +#ifndef IPFIREWALL +#error "IPDIVERT requires IPFIREWALL" +#endif #endif #include <sys/param.h> |