uhttpd: fix appending https ports to cmdline
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)
Otherwise it is started only on non-secure ports.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 38171

package/network/services/uhttpd/files/uhttpd.init

index 51f7547..ce30483 100755 (executable)
@@ -112,7 +112,7 @@ start_instance()
                        append_arg "$cfg" key  "-K"
 
                        for listen in $https; do
-                               append UHTTPD_ARGS "-s $listen"
+                               procd_append_param command -s "$listen"
                        done
                }
        }