From: Jonatan Schlag Date: Sat, 30 Jun 2018 15:53:48 +0000 (+0200) Subject: Fix network reset X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36e1f715558455dfdc6041ca235e9af101d471eb;p=people%2Fjschlag%2Fnetwork.git Fix network reset 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 Signed-off-by: Michael Tremer --- diff --git a/src/network b/src/network index 9a2d480..b28ecdb 100644 --- a/src/network +++ b/src/network @@ -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