neilpang 2018-02-19 21:07:01 +08:00
parent d6f8d63742
commit 9ad7ac632a
1 changed files with 2 additions and 2 deletions

View File

@ -2007,7 +2007,7 @@ _startserver() {
_NC="$_NC -6"
fi
if [ "$DEBUG" -gt "1" ]; then
if [ "$DEBUG" ] && [ "$DEBUG" -gt "1" ]; then
_NC="$_NC -d -d -v"
fi
@ -2015,7 +2015,7 @@ _startserver() {
#Adding bind to local-address
if [ "$ncaddr" ]; then
$SOCAT_OPTIONS="$SOCAT_OPTIONS,bind=${ncaddr}"
SOCAT_OPTIONS="$SOCAT_OPTIONS,bind=${ncaddr}"
fi
_debug "_NC" "$_NC $SOCAT_OPTIONS"