summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/network b/src/network
index b7cd19b..bb6abf6 100644
--- a/src/network
+++ b/src/network
@@ -354,7 +354,7 @@ bring_interface()
ip link set dev "$INTERFACE" up &>/dev/null
sleep "${UP_SLEEP:-2}"
;;
- down|flush)
+ flush)
if ! ( eval $IFACE_DOWN ); then
return 1
fi
@@ -363,9 +363,6 @@ bring_interface()
down)
ip link set dev "$INTERFACE" down &>/dev/null
;;
- *)
- return 1
- ;;
esac
}