summaryrefslogtreecommitdiff
path: root/package/base-files/default/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/lib/network')
-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 ec05c3eb81..bb58a3e751 100755
--- a/package/base-files/default/lib/network/config.sh
+++ b/package/base-files/default/lib/network/config.sh
@@ -32,7 +32,7 @@ scan_interfaces() {
interface)
config_get proto "$CONFIG_SECTION" proto
append interfaces "$CONFIG_SECTION"
- config_get iftype "$CONFIG_SECTION" iftype
+ config_get iftype "$CONFIG_SECTION" type
case "$iftype" in
bridge)
config_get ifname "$CONFIG_SECTION" ifname