]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
network: Fix adding new configuration.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2009 19:36:19 +0000 (21:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2009 19:36:19 +0000 (21:36 +0200)
src/network/network

index 8c198b49aa8e4efcfca2dd77d70992998a2c6322..e02d549a6af3428c9a4bb20b81186e2362db6a10 100644 (file)
@@ -459,7 +459,7 @@ while [ "$#" -gt 0 ]; do
                                        if [ -z "${zone}" ] || [ -z "${hook}" ]; then
                                                usage config
                                        fi
-                                       hook_run ${hook} --zone=${zone} config $@
+                                       hook_run ${hook} --zone=${zone} add $@
                                        _exit --reload $?
                                        ;;
                                del)