From 510d8184bfeb4948ee6f453bb7e67a5e5cb34e1f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 2 Jan 2015 15:05:25 +0000 Subject: [PATCH] reset: Remove all ports instead of just bringing them down All virtual ports must be removed when the configuration is destroyed. --- src/functions/functions.ports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) } -- 2.47.3