Преглед изворни кода

fix https://github.com/Neilpang/acme.sh/issues/1271

neilpang пре 7 година
родитељ
комит
d84665cb64
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      acme.sh

+ 2 - 2
acme.sh

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