fix minor typo & move loopback to network config
[openwrt-10.03/.git] / package / base-files / default / lib / network / config.sh
index ec05c3eb818d271267a192de82abdd2d8c2b6f1a..bb58a3e751dd66f929eeb7515c9e5f88c5991027 100755 (executable)
@@ -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