Skip to content

Commit

Permalink
fix socat for netbsd:
Browse files Browse the repository at this point in the history
listens to ipv4 by default.
  • Loading branch information
neil committed Feb 3, 2024
1 parent 3dca671 commit 7ec692c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acme.sh
Expand Up @@ -2499,10 +2499,10 @@ _startserver() {
_debug Le_Listen_V6 "$Le_Listen_V6"

_NC="socat"
if [ "$Le_Listen_V4" ]; then
_NC="$_NC -4"
elif [ "$Le_Listen_V6" ]; then
if [ "$Le_Listen_V6" ]; then
_NC="$_NC -6"
else
_NC="$_NC -4"
fi

if [ "$DEBUG" ] && [ "$DEBUG" -gt "1" ]; then
Expand Down

0 comments on commit 7ec692c

Please sign in to comment.