mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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
This commit is contained in:
parent
6ead1904af
commit
52c81e882b
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue