tcpreplay doesn't need an interactive terminal to run, remove 'it'

This commit is contained in:
Jason Ertel
2020-12-30 22:02:19 -05:00
committed by William Wernert
parent 7d97e3590c
commit bedbd39b82

View File

@@ -54,6 +54,6 @@ if ! docker ps | grep -q so-tcpreplay; then
fi
echo "Replaying PCAP(s) at ${REPLAYSPEED} Mbps on interface ${REPLAYIFACE}..."
docker exec -it so-tcpreplay /usr/bin/bash -c "/usr/local/bin/tcpreplay -i ${REPLAYIFACE} -M${REPLAYSPEED} $@"
docker exec so-tcpreplay /usr/bin/bash -c "/usr/local/bin/tcpreplay -i ${REPLAYIFACE} -M${REPLAYSPEED} $@"
echo "Replay completed. Warnings shown above are typically expected."