]> git.ipfire.org Git - people/ms/network.git/commitdiff
Fix network reset
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 30 Jun 2018 15:53:48 +0000 (17:53 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jun 2018 16:59:40 +0000 (17:59 +0100)
The functions zone_destroy and zone_destroy_now where merged to
zone_destroy in an earlier commit. So we have to use zone_destroy here.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network

index 9a2d48097cddef991df2c2a0a1458fab2829871c..b28ecdbad633c8399d7710ff6b4a03982f244d32 100644 (file)
@@ -1170,7 +1170,7 @@ cli_reset() {
 
        local zone
        for zone in $(zones_get --all); do
-               zone_destroy_now "${zone}"
+               zone_destroy "${zone}"
        done
 
        local port