summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network b/src/network
index 69bb1e3..28250b4 100644
--- a/src/network
+++ b/src/network
@@ -196,7 +196,7 @@ profile_down()
fi
report_try "$PROFILE down"
- if [[ "$(get_iface_prof $INTERFACE)" == "external" ]]; then
+ if [[ "$(get_iface_prof "$INTERFACE")" == "external" ]]; then
report_fail "$interface was connected by another application"
exit 1
fi
@@ -354,6 +354,7 @@ set_interface()
sleep "${UP_SLEEP:-2}"
;;
down|forcedown|down-old|forcedown-old)
+ # should this be placed elsewhere?
if ! ( eval $IFACE_DOWN ); then
return 1
fi