fix typo
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Aug 2006 14:45:14 +0000 (14:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Aug 2006 14:45:14 +0000 (14:45 +0000)
SVN-Revision: 4608

openwrt/package/base-files/default/lib/network/config.sh

index 163e42e800f8f62747bf3cf3c9d882a242b069b5..690d7996ef7fca36f4c63bdf870a66c35b24cbf5 100755 (executable)
@@ -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