diff --git a/glorytun-udp/init b/glorytun-udp/init index f5086024f..6b5522129 100755 --- a/glorytun-udp/init +++ b/glorytun-udp/init @@ -56,6 +56,8 @@ start_instance() { _log "starting ${PROG_NAME} ${1} instance $*" + host=$(resolveip $host) + if [ "$mode" = "to" ]; then bind="bind from addr :: port 5000 to addr $host port $port" else diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm index eafdbeaa6..bb3935675 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm @@ -514,13 +514,13 @@ <% end %> -