6in4: fix invalid local variable declaration (FS#188)
[openwrt/openwrt.git] / package / network / ipv6 / 6in4 / files / 6in4.sh
index c358a222fa355fcf2d196cfa3535df7fbc7b8646..45d8ab75ad4d52ab5021c4baf0f96b3c6c124ffa 100755 (executable)
@@ -11,7 +11,7 @@
 
 proto_6in4_update() {
        sh -c '
-               local timeout=5
+               timeout=5
 
                (while [ $((timeout--)) -gt 0 ]; do
                        sleep 1