]> git.ipfire.org Git - people/ms/network.git/commitdiff
Fix creating new configs
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 22 Jun 2019 09:52:37 +0000 (09:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Jun 2019 05:32:38 +0000 (06:32 +0100)
The id argument was missing for the zone_config_settings_write.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/header-config

index c6a775c5ea11fcdd2d3620836233d849083b5d99..ed647cdfc2af6d3dab19b45b6fdb43cd9cc3d6b1 100644 (file)
@@ -45,7 +45,7 @@ hook_new() {
        fi
 
        # Write configuration to disk
-       if ! zone_config_settings_write "${zone}" "${HOOK}"; then
+       if ! zone_config_settings_write "${zone}" "${HOOK}" "${id}"; then
                return ${EXIT_ERROR}
        fi