diff options
author | glebius <glebius@FreeBSD.org> | 2011-06-27 12:21:11 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-06-27 12:21:11 +0000 |
commit | b39e872c065c9d08545e06a5cde1909aaac01db6 (patch) | |
tree | 8db84ebf441129e913ff461117ed13a4f3fc54f1 /sys/modules/ipdivert | |
parent | c7b111bbcf014d13ab4bcabf0d7e68e5f9a5e5b7 (diff) | |
download | FreeBSD-src-b39e872c065c9d08545e06a5cde1909aaac01db6.zip FreeBSD-src-b39e872c065c9d08545e06a5cde1909aaac01db6.tar.gz |
Add possibility to pass IPv6 packets to a divert(4) socket.
Submitted by: sem
Diffstat (limited to 'sys/modules/ipdivert')
-rw-r--r-- | sys/modules/ipdivert/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/modules/ipdivert/Makefile b/sys/modules/ipdivert/Makefile index 203b4bf..886802a 100644 --- a/sys/modules/ipdivert/Makefile +++ b/sys/modules/ipdivert/Makefile @@ -3,6 +3,11 @@ .PATH: ${.CURDIR}/../../netinet KMOD= ipdivert -SRCS= ip_divert.c +SRCS= ip_divert.c opt_inet6.h + +.if !defined(KERNBUILDDIR) +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif .include <bsd.kmod.mk> |