summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/default/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh
index 163e42e80..690d7996e 100755
--- a/package/base-files/default/lib/network/config.sh
+++ b/package/base-files/default/lib/network/config.sh
@@ -14,7 +14,7 @@ find_config() {
;;
esac
config_get device "$ifn" device
- for ifc in ${device:-iface}; do
+ for ifc in ${device:-$iface}; do
[ "$ifc" = "$1" ] && {
echo "$ifn"
return 0