package/olsrd-luci: add exception for Ip6AddrType option
[project/luci.git] / contrib / package / olsrd-luci / files / etc / init.d / olsrd
index 9aee7a3..aa2950a 100755 (executable)
@@ -124,7 +124,7 @@ olsrd_write_option() {
        fi
 
        if [ "$value" != "${value%%[G-Zg-z_-]*}" ]; then
-               if [ "$value" != "yes" -a "$value" != "no" ]; then
+               if [ "$option" != "Ip6AddrType" -a "$value" != "yes" -a "$value" != "no" ]; then
                        value="\"$value\""
                fi
        fi