mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-13 08:35:27 +00:00
Fix added proxy command when IPv6 is used
For explicit proxy commands (included with `-p "$P_PXY <args>` in the test case), it's the test's writer responsibility to handle IPv6; only fix the proxy command when we're auto-adding it. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
c5ae9c8532
commit
ed0aaf46a9
|
@ -484,6 +484,10 @@ run_test() {
|
||||||
# as it provides timing info that's useful to debug failures
|
# as it provides timing info that's useful to debug failures
|
||||||
if [ -z "$PXY_CMD" ] && [ "$DTLS" -eq 1 ]; then
|
if [ -z "$PXY_CMD" ] && [ "$DTLS" -eq 1 ]; then
|
||||||
PXY_CMD="$P_PXY"
|
PXY_CMD="$P_PXY"
|
||||||
|
case " $SRV_CMD " in
|
||||||
|
*' server_addr=::1 '*)
|
||||||
|
PXY_CMD="$PXY_CMD server_addr=::1 listen_addr=::1";;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fix client port
|
# fix client port
|
||||||
|
|
Loading…
Reference in a new issue