diff --git a/.ci_scripts/run-all-pcaps.sh b/.ci_scripts/run-all-pcaps.sh index 1d8c5dc29ebd1317b4fa2e5f50822169bc7b46cf..8f75b0029278f620aef050dce92600830c619331 100755 --- a/.ci_scripts/run-all-pcaps.sh +++ b/.ci_scripts/run-all-pcaps.sh @@ -4,8 +4,8 @@ EXITCODE=0 for pcap in $GITHUB_WORKSPACE/traces/*.pcap do - # Run pcap-tweaker script on pcap file - python3 $GITHUB_WORKSPACE/src/pcap-tweaker.py $pcap + # Run pcap_tweaker script on pcap file + python3 $GITHUB_WORKSPACE/src/pcap_tweaker.py $pcap # If the exit code is not 0, set EXITCODE to 1 if [[ $? -ne 0 ]] then diff --git a/README.md b/README.md index 6a8682b21ab723a81c8d40fbf1e1de8a5ec4a11e..234d1eaf19715ce378358d4d0f35f06c3bc8099b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ pip install -r requirements.txt ## Usage ```bash -python3 pcap-tweaker.py [-h] [-d] [-r RANDOM_RANGE] [-n PACKET_NUMBER] pcap [pcap ...] +python3 pcap_tweaker.py [-h] [-d] [-r RANDOM_RANGE] [-n PACKET_NUMBER] pcap [pcap ...] ``` The program produces new PCAP file with the same name as the input files, diff --git a/src/pcap-tweaker.py b/src/pcap_tweaker.py similarity index 100% rename from src/pcap-tweaker.py rename to src/pcap_tweaker.py