From 30de137493f5817638d1b6653c1218ac3ca89bb9 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Thu, 9 May 2019 18:06:11 +0000 Subject: [PATCH] Add if_ipsec.ko symlink to ipsec.ko kernel module. This add ability to automatically load ipsec kernel module, when if_ipsec(4) virtual interface is created using ifconfig(8). Reviewed by: gallatin MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20169 --- sys/modules/ipsec/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/modules/ipsec/Makefile b/sys/modules/ipsec/Makefile index 01b92c57643d..8d43618c32c1 100644 --- a/sys/modules/ipsec/Makefile +++ b/sys/modules/ipsec/Makefile @@ -7,6 +7,7 @@ SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ipsec_mod.c \ ipsec_output.c xform_ah.c xform_esp.c xform_ipcomp.c \ opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h SRCS.INET= udpencap.c +SYMLINKS= ${KMOD}.ko ${KMODDIR}/if_${KMOD}.ko opt_ipsec.h: @echo "#define IPSEC_SUPPORT 1" > ${.TARGET}