neilpang 2018-02-17 10:16:04 +08:00
parent 4bb5d27c59
commit d84665cb64

View File

@ -2010,8 +2010,8 @@ _startserver() {
SOCAT_OPTIONS=TCP-LISTEN:$Le_HTTPPort,crlf,reuseaddr,fork SOCAT_OPTIONS=TCP-LISTEN:$Le_HTTPPort,crlf,reuseaddr,fork
#Adding bind to local-address #Adding bind to local-address
if [ "$_local_address" ]; then if [ "$ncaddr" ]; then
$SOCAT_OPTIONS="$SOCAT_OPTIONS,bind=${_local_address}" $SOCAT_OPTIONS="$SOCAT_OPTIONS,bind=${ncaddr}"
fi fi
_debug "_NC" "$_NC" _debug "_NC" "$_NC"