summaryrefslogtreecommitdiffstats
path: root/src/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/network')
-rwxr-xr-xsrc/lib/network1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/network b/src/lib/network
index 6ac9d75..7dfe0b5 100755
--- a/src/lib/network
+++ b/src/lib/network
@@ -31,7 +31,6 @@ bring_interface_up() {
# $1: interface name
bring_interface_down() {
local interface=$1
- ip addr flush dev "$interface" &>/dev/null
ip link set dev "$interface" down &>/dev/null
# We reuse the up timeout (down normally is faster)
timeout_wait "${TimeoutUp:-5}" '! interface_is_up "$interface"'