xfrm: simplify the check for necessary kernel support
authorAlin Nastac <alin.nastac@technicolor.com>
Mon, 1 Mar 2021 08:51:31 +0000 (09:51 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 13 Mar 2021 19:59:22 +0000 (20:59 +0100)
commit8704d138df5e7a30fb084a5450b07460d128a15a
tree0c506acebc43f2ab755b85372adbc3ec83b92a29
parent65ca980b4872ee43157c6621896e84e817c9aeab
xfrm: simplify the check for necessary kernel support

[ -d /sys/module/xfrm_interface ] is enough to check if
CONFIG_XFRM_INTERFACE support was enabled in kernel.

Signed-off-by: Alin Nastac <alin.nastac@technicolor.com>
package/network/config/xfrm/Makefile
package/network/config/xfrm/files/xfrm.sh