git.iko.soy/typeable/nixpkgs
on master help sign in
strongswan-swanctl: adapt options to strongswan-5.6.3

This time there was only one change between 5.6.2..5.6.3: https://github.com/strongswan/strongswan/commit/2c7a4b07045786ee493021020e2ad5bd6bb4d045

commit401370287a9b74fc18539fe9c0bdc7ac9df9cf22 authorBas van Dijk <v.dijk.bas@gmail.com> dateSun 24 Jun 2018, 11:32 (8 years ago) parent7bf378c
1 file changed+5−2
nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix+5−2
nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix+5−2
@@ -938,9 +938,12 @@ in {
938938 protection.
939939 '';
940940
941− hw_offload = mkYesNoParam no ''
941+ hw_offload = mkEnumParam ["yes" "no" "auto"] "no" ''
942942 Enable hardware offload for this CHILD_SA, if supported by the IPsec
943− implementation.
943+ implementation. The value <literal>yes</literal> enforces offloading
944+ and the installation will fail if it's not supported by either kernel or
945+ device. The value <literal>auto<literal> enables offloading, if it's
946+ supported, but the installation does not fail otherwise.
944947 '';
945948
946949 start_action = mkEnumParam ["none" "trap" "start"] "none" ''