diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-08-23 13:40:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-18 18:32:41 +0100 |
commit | 17e5ca819024bc4590c40befbbbf83cc120cd459 (patch) | |
tree | f4014789ab40da501bd529e2e6fad3c070e13747 /gnu/services | |
parent | 9411a1495f7cb2b116129a71a1fc1817e962fa5d (diff) | |
download | guix-17e5ca819024bc4590c40befbbbf83cc120cd459.tar.gz guix-17e5ca819024bc4590c40befbbbf83cc120cd459.zip |
services: iptables: Provide a default value.
There doesn't seem to be a reason to force users to write
(service iptables-service-type
(iptables-configuration))
instead of simply
(service iptables-service-type)
This patch provides a default value for the iptables-service-type.
* gnu/services/networking.scm (iptables-service-type): Set default-value.
Change-Id: I93b6c544dfb064c7a0a999549dff61007a38f842
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/networking.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 76563be14f..48a86b3694 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -2110,6 +2110,7 @@ COMMIT (define iptables-service-type (service-type (name 'iptables) + (default-value (iptables-configuration)) (description "Run @command{iptables-restore}, setting up the specified rules.") (extensions |