summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2015-01-20 08:24:14 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2015-01-20 08:47:11 +0100
commit7023e03d7796ea13e745bce07bccfea5863845e5 (patch)
tree65101396e6a6bde912fa586ad3293e4031ec125c /nixos
parent02e7a4d403798f3bdfe92283066f227732f886c8 (diff)
downloadnixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar.gz
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar.bz2
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar.lz
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar.xz
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.tar.zst
nixlib-7023e03d7796ea13e745bce07bccfea5863845e5.zip
firewall service: fix pingLimit example value
The example uses single dashes, whereas iptables requires double dashes.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/firewall.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix
index 1f17661c9f08..b05a640e11fd 100644
--- a/nixos/modules/services/networking/firewall.nix
+++ b/nixos/modules/services/networking/firewall.nix
@@ -356,7 +356,7 @@ in
         ''
           If pings are allowed, this allows setting rate limits
           on them. If non-null, this option should be in the form
-          of flags like "-limit 1/minute -limit-burst 5"
+          of flags like "--limit 1/minute --limit-burst 5"
         '';
     };