From: Michael Tremer Date: Fri, 2 Jan 2015 15:05:25 +0000 (+0000) Subject: reset: Remove all ports instead of just bringing them down X-Git-Tag: 007~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=510d8184bfeb4948ee6f453bb7e67a5e5cb34e1f;p=network.git reset: Remove all ports instead of just bringing them down All virtual ports must be removed when the configuration is destroyed. --- diff --git a/src/functions/functions.ports b/src/functions/functions.ports index 059b8f24..cfe9b50e 100644 --- a/src/functions/functions.ports +++ b/src/functions/functions.ports @@ -215,7 +215,7 @@ function port_destroy() { return ${EXIT_ERROR} fi - port_down ${port} + port_remove "${port}" rm -f $(port_file ${port}) }