contrib/meshwizard: fix uhttpd listen addresses when ipv6 is used
This commit is contained in:
parent
346f018663
commit
b87051fe02
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=meshwizard
|
PKG_NAME:=meshwizard
|
||||||
PKG_RELEASE:=0.0.11
|
PKG_RELEASE:=0.0.12
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
. $dir/functions.sh
|
. $dir/functions.sh
|
||||||
if [ "$ipv6_enabled" = "1" ]; then
|
if [ "$ipv6_enabled" = "1" ]; then
|
||||||
uci batch <<- EOF
|
uci batch <<- EOF
|
||||||
set uhttpd.main.listen_http=":80"
|
set uhttpd.main.listen_http="80"
|
||||||
set uhttpd.main.listen_https=:"443"
|
set uhttpd.main.listen_https="443"
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue