Commit 52c81e88 authored by fasheng's avatar fasheng Committed by Bjørn Forsman
Browse files

nixos/fail2ban: fix default value for banaction-allports

It's iptables-allports instead of iptables-allport.

https://github.com/fail2ban/fail2ban/tree/master/config/action.d
parent 6ead1904
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -128,8 +128,8 @@ in
      };

      banaction-allports = mkOption {
        default = if config.networking.nftables.enable then "nftables-allport" else "iptables-allport";
        defaultText = literalExpression ''if config.networking.nftables.enable then "nftables-allport" else "iptables-allport"'';
        default = if config.networking.nftables.enable then "nftables-allports" else "iptables-allports";
        defaultText = literalExpression ''if config.networking.nftables.enable then "nftables-allports" else "iptables-allports"'';
        type = types.str;
        description = lib.mdDoc ''
          Default banning action (e.g. iptables, iptables-new, iptables-multiport,