[packages] babel: fix typo in initscript, bump release number
[openwrt/svn-archive/archive.git] / net / babel / files / babeld.init
index dfcf700985647641cd798754b1e8e526305d3a93..c938248e923641095ee3788b6e86fcf45998ae38 100755 (executable)
@@ -20,7 +20,7 @@ append_ifname() {
        local switch="$3"
        local _name
        config_get _name "$section" "$option"
-       [ -z "$name" ] && return 0
+       [ -z "$_name" ] && return 0
        local _uciname=`uci get -q -P /var/state network.$_name.ifname`
        append args "$switch ${_uciname:-$_name}"
 }