git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #42518 from LumiGuide/strongswan-swanctl-5.6.3

strongswan-swanctl: adapt options to strongswan-5.6.3

commit7e77094f39d3ccf6f1c769be8e52893a449fbb9e authorxeji <36407913+xeji@users.noreply.github.com> dateMon 25 Jun 2018, 15:01 (8 years ago) parent39f357a4013702
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" ''