Skip to content

Commit

Permalink
common: Fix socat arg to ensure IPv4 only.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Dec 13, 2024
1 parent 319ca16 commit 11520a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ start_httpd()
{
export REPO_PACKAGES="${PACKAGES}/All"
export HTTPD_ERR HTTPD_LOG
exec socat tcp-listen:${HTTPD_PORT},reuseaddr,fork,keepalive system:"${BATS_ROOT}/bin/httpd" 3>&- &
exec socat TCP4-LISTEN:${HTTPD_PORT},reuseaddr,fork,keepalive system:"${BATS_ROOT}/bin/httpd" 3>&- &
echo "$!" >${HTTPD_PID}
}
stop_httpd()
Expand Down

0 comments on commit 11520a9

Please sign in to comment.